Skip to content

Commit

Permalink
Send CI coverage stats to Coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
jstasiak committed Apr 28, 2019
1 parent b0457d3 commit e1e4884
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

0 comments on commit e1e4884

Please sign in to comment.