From e1e4884e86e3754d613184399497d56a6cc4d5e5 Mon Sep 17 00:00:00 2001 From: Jakub Stasiak Date: Sun, 28 Apr 2019 11:18:46 +0200 Subject: [PATCH] Send CI coverage stats to Coveralls --- .travis.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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