Skip to content

Commit

Permalink
Attempt to fix codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
ask committed Nov 4, 2016
1 parent e074843 commit 575d2ee
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 10 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ before_install:
virtualenv --python="$PYENV_ROOT/versions/pypy-$PYPY_VERSION/bin/python" "$HOME/virtualenvs/pypy-$PYPY_VERSION"
source "$HOME/virtualenvs/pypy-$PYPY_VERSION/bin/activate"
fi
after_success:
- .tox/$TRAVIS_PYTHON_VERSION/bin/coverage xml
- .tox/$TRAVIS_PYTHON_VERSION/bin/codecov -e TOXENV
install: travis_retry pip install -U tox
script: tox -v -- -v
notifications:
Expand Down
13 changes: 3 additions & 10 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
Expand All @@ -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 =
Expand Down

0 comments on commit 575d2ee

Please sign in to comment.