Skip to content

Commit

Permalink
Add code coverage check in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
PytLab committed Nov 8, 2018
1 parent 4f7c99b commit ab6bccf
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 @@ -8,10 +8,13 @@ notifications:
install:
- sudo apt-get update
- sudo apt-get install mpich
- pip install coverage codecov
- python setup.py install

script:
- python setup.py test
- coverage run -m gaft.tests.test_all
# Test parallel running.
#- mpirun -np 2 python tests/gaft_test.py
- mpirun -np 2 python -m gaft.tests.test_all
# Upload test coverage report
- codecov

0 comments on commit ab6bccf

Please sign in to comment.