Fix tox config to install latest pip packages
Trial changed command in latest versions of twisted
This commit is contained in:
parent
7787aa975f
commit
4e79ed8124
|
@ -15,7 +15,7 @@ before_install:
|
||||||
install:
|
install:
|
||||||
- bash -c "echo $APTPACKAGES"
|
- bash -c "echo $APTPACKAGES"
|
||||||
- sudo apt-get install $APTPACKAGES
|
- sudo apt-get install $APTPACKAGES
|
||||||
- pip install "tox==2.1.1"
|
- pip install tox
|
||||||
|
|
||||||
env:
|
env:
|
||||||
global:
|
global:
|
||||||
|
|
8
tox.ini
8
tox.ini
|
@ -16,11 +16,12 @@ envlist = py27, flake8, docs, pylint
|
||||||
minversion=1.8
|
minversion=1.8
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
passenv = DISPLAY
|
install_command = pip install --ignore-installed {opts} {packages}
|
||||||
|
passenv = DISPLAY PYTHONPATH
|
||||||
setenv = PYTHONPATH = {env:PWD}:
|
setenv = PYTHONPATH = {env:PWD}:
|
||||||
sitepackages = True
|
sitepackages = True
|
||||||
deps =
|
deps =
|
||||||
twisted==16.6
|
twisted[tls]
|
||||||
service_identity
|
service_identity
|
||||||
mako
|
mako
|
||||||
chardet
|
chardet
|
||||||
|
@ -58,10 +59,9 @@ commands = py.test -v --basetemp=_pytest_temp -s -m "todo" deluge/tests
|
||||||
|
|
||||||
[testenv:trial]
|
[testenv:trial]
|
||||||
setenv = {[testenv]setenv}:{env:PWD}/deluge/tests
|
setenv = {[testenv]setenv}:{env:PWD}/deluge/tests
|
||||||
whitelist_externals = trial
|
|
||||||
commands =
|
commands =
|
||||||
python -c "import libtorrent as lt; print lt.__version__"
|
python -c "import libtorrent as lt; print lt.__version__"
|
||||||
trial --reporter=deluge-reporter deluge.tests
|
python -m twisted.trial --reporter=deluge-reporter deluge.tests
|
||||||
|
|
||||||
[testenv:plugins]
|
[testenv:plugins]
|
||||||
setenv = PYTHONPATH = {env:PWD}:{env:PWD}/deluge/plugins
|
setenv = PYTHONPATH = {env:PWD}:{env:PWD}/deluge/plugins
|
||||||
|
|
Loading…
Reference in New Issue