|
@@ -8,14 +8,13 @@ envlist =
|
|
|
apicheck
|
|
|
configcheck
|
|
|
pydocstyle
|
|
|
- cov
|
|
|
|
|
|
[testenv]
|
|
|
deps=
|
|
|
-r{toxinidir}/requirements/default.txt
|
|
|
-r{toxinidir}/requirements/test.txt
|
|
|
|
|
|
- 2.7,cov: -r{toxinidir}/requirements/test-ci-default.txt
|
|
|
+ 2.7: -r{toxinidir}/requirements/test-ci-default.txt
|
|
|
3.4,3.5: -r{toxinidir}/requirements/test-ci-default.txt
|
|
|
pypy,pypy3: -r{toxinidir}/requirements/test-ci-base.txt
|
|
|
|
|
@@ -26,7 +25,7 @@ deps=
|
|
|
sitepackages = False
|
|
|
recreate = False
|
|
|
commands =
|
|
|
- unit: py.test -xv
|
|
|
+ unit: py.test -xv --cov=celery --cov-report=xml
|
|
|
integration: py.test -xsv t/integration
|
|
|
setenv =
|
|
|
WORKER_LOGLEVEL = INFO
|
|
@@ -43,13 +42,7 @@ basepython =
|
|
|
3.5: python3.5
|
|
|
pypy: pypy
|
|
|
pypy3: pypy3
|
|
|
- flake8,flakeplus,apicheck,linkcheck,configcheck,pydocstyle,cov: python2.7
|
|
|
-
|
|
|
-[testenv:cov]
|
|
|
-commands =
|
|
|
- py.test -xv --cov=celery --cov-report=xml
|
|
|
- coverage xml
|
|
|
- codecov -e TOXENV --token=bb6ecc30-6d40-4f57-942e-406f5f579198 --required
|
|
|
+ flake8,flakeplus,apicheck,linkcheck,configcheck,pydocstyle: python2.7
|
|
|
|
|
|
[testenv:apicheck]
|
|
|
commands =
|