Skip to content

Commit

Permalink
Accumulate coverage on Travis across doctests and integration tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
ketch committed Apr 29, 2015
1 parent cfa679b commit 943891d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,16 @@ install:

script:
- cd pyclaw/src/pyclaw
- nosetests --first-pkg-wins --with-doctest --exclude=limiters --exclude=sharpclaw --exclude=io --exclude=example
- nosetests --first-pkg-wins --with-doctest --exclude=limiters --exclude=sharpclaw --exclude=io --exclude=example --with-coverage --cover-package=clawpack.pyclaw
- mv .coverage temp
- if [[ "${TEST_PACKAGE}" == "pyclaw" ]]; then
nosetests -v --first-pkg-wins --exclude=limiters --exclude=sharpclaw --exclude=io --with-coverage --cover-package=clawpack.pyclaw;
fi
- if [[ "${TEST_PACKAGE}" == "petclaw" ]]; then
mpirun -n 4 nosetests -v --first-pkg-wins --exclude=limiters --exclude=sharpclaw --exclude=io;
fi
- mv temp .coverage.doctest
- coverage combine

after_success:
- coveralls
Expand Down

0 comments on commit 943891d

Please sign in to comment.