Merge "Remove tox environments that no longer work"
This commit is contained in:
commit
1dd3edafab
|
@ -1,26 +0,0 @@
|
|||
#!/bin/sh -x
|
||||
|
||||
set -e
|
||||
|
||||
envdir=$1
|
||||
|
||||
# Manually download the source from PyPI and build it with the --editable flag.
|
||||
# This gives us access to run the tests.
|
||||
pip install --pre --no-deps --no-install --no-clean --no-use-wheel python-neutronclient
|
||||
|
||||
# This is where the source will end up after pip is done downloading and building it
|
||||
srcdir=$envdir/build/python-neutronclient/
|
||||
cd $srcdir
|
||||
|
||||
# Install the source safely
|
||||
pip install --no-clean -ve .
|
||||
|
||||
# Install the test requirements
|
||||
pip install --no-clean -r $srcdir/test-requirements.txt
|
||||
|
||||
# Force a known hash seed value to avoid sorting errors from tox
|
||||
# giving us a random one.
|
||||
export PYTHONHASHSEED=0
|
||||
|
||||
# Run testr
|
||||
python setup.py testr
|
|
@ -1,26 +0,0 @@
|
|||
#!/bin/sh -x
|
||||
|
||||
set -e
|
||||
|
||||
envdir=$1
|
||||
|
||||
# Manually download the source from PyPI and build it with the --editable flag.
|
||||
# This gives us access to run the tests.
|
||||
pip install --pre --no-deps --no-install --no-clean --no-use-wheel python-openstackclient
|
||||
|
||||
# This is where the source will end up after pip is done downloading and building it
|
||||
srcdir=$envdir/build/python-openstackclient/
|
||||
cd $srcdir
|
||||
|
||||
# Install the source safely
|
||||
pip install --no-clean -ve .
|
||||
|
||||
# Install the test requirements
|
||||
pip install --no-clean -r $srcdir/test-requirements.txt
|
||||
|
||||
# Force a known hash seed value to avoid sorting errors from tox
|
||||
# giving us a random one.
|
||||
export PYTHONHASHSEED=0
|
||||
|
||||
# Run testr
|
||||
python setup.py testr
|
8
tox.ini
8
tox.ini
|
@ -14,19 +14,11 @@ commands = flake8 cliff doc/source/conf.py setup.py
|
|||
[testenv:venv]
|
||||
commands = {posargs}
|
||||
|
||||
[testenv:neutronclient-stable]
|
||||
basepython = python2.7
|
||||
commands = {toxinidir}/integration-tests/neutronclient-stable.sh {envdir}
|
||||
|
||||
[testenv:neutronclient-tip]
|
||||
basepython = python2.7
|
||||
deps = -egit+https://git.openstack.org/openstack/python-neutronclient#egg=neutronclient
|
||||
commands = {toxinidir}/integration-tests/neutronclient-tip.sh {envdir}
|
||||
|
||||
[testenv:openstackclient-stable]
|
||||
basepython = python2.7
|
||||
commands = {toxinidir}/integration-tests/openstackclient-stable.sh {envdir}
|
||||
|
||||
[testenv:openstackclient-tip]
|
||||
basepython = python2.7
|
||||
deps = -egit+https://git.openstack.org/openstack/python-openstackclient#egg=openstackclient
|
||||
|
|
Loading…
Reference in New Issue