Skip to content

Commit c6b69d8

Browse files
authored
Merge pull request #161 from asherf/coveralls
Report coverage to codacy too.
2 parents f868453 + aef542c commit c6b69d8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ matrix:
2929
env: DJANGO_VERSION=1.11
3030

3131
install:
32-
- pip install coveralls
32+
- pip install coveralls codacy-coverage
3333
- pip install -r requirements.txt
3434
- pip install -q Django==$DJANGO_VERSION
3535
- pip install --upgrade setuptools wheel
@@ -42,6 +42,8 @@ script:
4242
after_success:
4343
- coverage combine .coverage django_prometheus/tests/end2end/.coverage
4444
- coveralls
45+
- coverage xml
46+
- python-codacy-coverage -r coverage.xml
4547
before_deploy:
4648
- git checkout $TRAVIS_BRANCH
4749
- git fetch --unshallow

0 commit comments

Comments
 (0)