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 5b3b520 commit 748bb71
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,14 @@ python:
- "3.5"

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

script:
- pytest -v --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'

Expand Down

0 comments on commit 748bb71

Please sign in to comment.