Skip to content

Commit

Permalink
Add codacy coverage support
Browse files Browse the repository at this point in the history
  • Loading branch information
jni committed Jul 20, 2016
1 parent effb31a commit e474108
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ install:
# install testing and coverage packages
- pip install pytest pytest-cov
- pip install coveralls
- pip install codacy-coverage

# Install gala
- printenv PWD
Expand All @@ -37,6 +38,9 @@ script:

after_success:
- if [[ $TRAVIS_PYTHON_VERSION == 3.5 ]]; then coveralls; fi
- coverage xml
- export CODACY_PROJECT_TOKEN=0610dea02dc34a2b941373e0d01f62dc
- python-codacy-coverage -r coverage.xml

cache:
directories:
Expand Down

0 comments on commit e474108

Please sign in to comment.