Skip to content

Commit

Permalink
coverage: don't use py.test --boxed when using --cov
Browse files Browse the repository at this point in the history
Seems that if we run --cov together with --boxed we get very low
coverage reports.  Not sure why they are underreading.  But we
introduced --boxed for pypy and will use it for cPO and fPO.  So for now
don't run coverage on these segfaulting platforms.
  • Loading branch information
dwaynebailey committed Feb 20, 2014
1 parent 0509dbf commit 599751b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ script:
# Compile all the files
- python -m compileall -q -f .
- python setup.py --quiet build
- py.test --boxed --cov=. -r EfsxX
- if [[ $TRAVIS_PYTHON_VERSION != 'pypy' ]]; then py.test --cov=. -r EfsxX; fi
- if [[ $TRAVIS_PYTHON_VERSION == 'pypy' ]]; then py.test --boxed -r EfsxX; fi
- ./tools/pep8.sh travis
# -W report warnings as errors when building docs
- cd docs; make SPHINXOPTS=-W html; cd ..
Expand Down

0 comments on commit 599751b

Please sign in to comment.