Skip to content

Commit 5a5e1c3

Browse files
committed
Use coverage instead of py.test for creating references
1 parent 8e1b472 commit 5a5e1c3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,8 @@ install:
150150

151151
script:
152152
# create the necessary references
153-
- py.test -v --ref --cov=psy_maps && python ci/check_ref_deploy.py
153+
- coverage run --source=psy_maps setup.py test -a "-v --ref" &&
154+
python ci/check_ref_deploy.py && coverage report
154155
# run the tests
155156
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
156157
py.test -v -n $NCORES --cov-append --cov=psy_maps -m 'not TWOD';

0 commit comments

Comments
 (0)