diff --git a/.travis.yml b/.travis.yml index a3709fb..fb534dd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,7 +15,7 @@ matrix: include: - { python: "3.7", dist: xenial, sudo: true } install: - - pip install --upgrade pytest "typing$TYPING_VERSION" "pytest-cov>=2.5.1" + - pip install --upgrade coveralls pytest "typing$TYPING_VERSION" "pytest-cov>=2.5.1" # mypy can't be installed on pypy - if [[ "${TRAVIS_PYTHON_VERSION}" != "pypy"* ]] ; then pip install mypy ; fi # Black is Python 3.6+-only @@ -24,3 +24,5 @@ script: - py.test -vv --cov=injector --cov-branch --cov-report html --cov-report term - if [[ "${TRAVIS_PYTHON_VERSION}" != "pypy"* ]] ; then mypy injector ; fi - if [[ "${TRAVIS_PYTHON_VERSION}" != "pypy"* && "${TRAVIS_PYTHON_VERSION}" != "3.5"* ]] ; then black --check . ; fi +after_success: + - coveralls