Updates tox.ini

This commit is contained in:
Ask Solem 2015-09-29 14:44:06 -07:00
parent 639a9cc0d3
commit 4bc7c2b7fa
2 changed files with 21 additions and 65 deletions

View File

@ -3,6 +3,7 @@ python:
- 2.7 - 2.7
- 3.3 - 3.3
- 3.4 - 3.4
- 3.5
- pypy - pypy
- pypy3 - pypy3
before_install: before_install:
@ -17,7 +18,7 @@ before_install:
python --version python --version
uname -a uname -a
lsb_release -a lsb_release -a
sudo pip install tox sudo travis_retry pip install tox
script: tox -v -e $TRAVIS_PYTHON_VERSION -- -v script: tox -v -e $TRAVIS_PYTHON_VERSION -- -v
after_success: after_success:
- .tox/$TRAVIS_PYTHON_VERSION/bin/coveralls - .tox/$TRAVIS_PYTHON_VERSION/bin/coveralls

83
tox.ini
View File

@ -1,71 +1,26 @@
[tox] [tox]
envlist = envlist = 2.7,3.3,3.4,3.5,pypy,pypy3
2.7,
3.3,
3.4,
pypy,
pypy3
[testenv] [testenv]
sitepackages = False sitepackages = False
commands = nosetests
[testenv:3.4]
basepython = python3.4
deps = -r{toxinidir}/requirements/default.txt
-r{toxinidir}/requirements/test3.txt
-r{toxinidir}/requirements/test-ci3.txt
commands = {toxinidir}/extra/release/removepyc.sh {toxinidir}
pip install -U -r{toxinidir}/requirements/dev.txt
nosetests -vds kombu.tests \
--with-coverage --cover-inclusive --cover-erase []
[testenv:3.3]
basepython = python3.3
deps = -r{toxinidir}/requirements/default.txt
-r{toxinidir}/requirements/test3.txt
-r{toxinidir}/requirements/test-ci3.txt
commands = {toxinidir}/extra/release/removepyc.sh {toxinidir}
pip install -U -r{toxinidir}/requirements/dev.txt
nosetests -vds kombu.tests \
--with-coverage --cover-inclusive --cover-erase []
[testenv:2.7]
basepython = python2.7
deps = -r{toxinidir}/requirements/default.txt
-r{toxinidir}/requirements/test.txt
-r{toxinidir}/requirements/test-ci.txt
commands = {toxinidir}/extra/release/removepyc.sh {toxinidir}
pip install -U -r{toxinidir}/requirements/dev.txt
nosetests --with-coverage --cover-inclusive --cover-erase []
[testenv:pypy]
basepython = pypy
deps = -r{toxinidir}/requirements/default.txt
-r{toxinidir}/requirements/test.txt
-r{toxinidir}/requirements/test-ci.txt
commands = {toxinidir}/extra/release/removepyc.sh {toxinidir}
pip install -U -r{toxinidir}/requirements/dev.txt
nosetests --with-coverage --cover-inclusive --cover-erase []
[testenv:pypy3]
basepython = pypy3
deps = -r{toxinidir}/requirements/default.txt
-r{toxinidir}/requirements/test3.txt
-r{toxinidir}/requirements/test-ci3.txt
setenv = C_DEBUG_TEST = 1 setenv = C_DEBUG_TEST = 1
deps=
-r{toxinidir}/requirements/default.txt
2.7,pypy,jython: -r{toxinidir}/requirements/test.txt
2.7,pypy,jython: -r{toxinidir}/requirements/test-ci.txt
3.3,3.4,3.5,pypy3: -r{toxinidir}/requirements/test3.txt
3.3,3.4,3.5,pypy3: -r{toxinidir}/requirements/test-ci3.txt
basepython =
2.7: python2.7
3.3: python3.3
3.4: python3.4
3.5: python3.5
pypy: pypy
pypy3: pypy3
jython: jython
commands = {toxinidir}/extra/release/removepyc.sh {toxinidir} commands = {toxinidir}/extra/release/removepyc.sh {toxinidir}
pip install -U -r{toxinidir}/requirements/dev.txt pip install -U -r{toxinidir}/requirements/dev.txt
nosetests -xsv --with-coverage --cover-inclusive --cover-erase [] nosetests -vdsx kombu.tests \
--with-coverage --cover-inclusive --cover-erase []
[testenv:jython]
basepython = jython
recreate = True
where = .tox
deps = -r{toxinidir}/requirements/default.txt
-r{toxinidir}/requirements/test.txt
-r{toxinidir}/requirements/test-ci.txt
commands = {toxinidir}/extra/release/removepyc.sh {toxinidir}
pip install -U -r{toxinidir}/requirements/dev.txt
nosetests --with-coverage --cover-inclusive --cover-erase []