Skip to content
This repository has been archived by the owner on Aug 14, 2019. It is now read-only.

Commit

Permalink
CI: another coverage attempt
Browse files Browse the repository at this point in the history
  • Loading branch information
romain-dartigues committed Sep 29, 2018
1 parent 6dc6ee8 commit 07a9231
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,16 @@ python:
- "3.5"

install:
- "pip install pytest-cov"
- "pip install codacy-coverage coverage pytest"

script:
- pytest --cov=characterentities --cov-report=term --cov-report=xml --cov-branch
- coverage run --branch --source characterentities -m py.test -v
- coverage report

after_success:
- coverage xml
- "bash <(curl -s https://codecov.io/bash)"
- 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then python-codacy-coverage -r coverage.xml; fi'

cache:
pip: true
Expand Down

0 comments on commit 07a9231

Please sign in to comment.