diff --git a/.travis.yml b/.travis.yml index 25e649314..773c3872e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,11 +15,11 @@ addons: - libjpeg-dev # command to install dependencies install: - - pip install -U tox-travis coveralls setuptools + - pip install -U tox-travis setuptools codecov # command to run tests script: tox after_success: - coveralls + codecov --file .tox/cov-*.xml notifications: irc: channels: diff --git a/tox.ini b/tox.ini index 987f2e44c..984267e90 100644 --- a/tox.ini +++ b/tox.ini @@ -7,12 +7,12 @@ commands = --cov-report=xml:{toxworkdir}/cov-{envname}.xml --cov-report=term \ --junitxml={toxworkdir}/junit-{envname}.xml {posargs} -passenv = TRAVIS + +passenv = CI TRAVIS TRAVIS_* # Also install optional dependencies for tests. deps = .[css,dimensions,test] pytest-travis-fold - cssselect Pillow [testenv:flake8]