Skip to content

Commit

Permalink
Make coverage additive.
Browse files Browse the repository at this point in the history
  • Loading branch information
g2p committed Nov 23, 2012
1 parent 9ba0a41 commit 0bd111c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .travis.yml
Expand Up @@ -10,15 +10,15 @@ install:
script:
- coverage erase
# Unit tests
- coverage run setup.py test
- coverage run -a setup.py test
# Integration test
- coverage run virtualenv.py --distribute ./test-venv-01
- coverage run -a virtualenv.py --distribute ./test-venv-01
# Another integration test, where we must download
- cp -t bin virtualenv.py; coverage run bin/virtualenv.py --distribute ./test-venv-02
- cp -t bin virtualenv.py; coverage run -a bin/virtualenv.py --distribute ./test-venv-02
# Also test with setuptools if we are on Python 2
- python -c 'import sys; sys.exit(0 if sys.version_info >= (3,) else 1)' || coverage run virtualenv.py --setuptools ./test-venv-03
- python -c 'import sys; sys.exit(0 if sys.version_info >= (3,) else 1)' || coverage run -a virtualenv.py --setuptools ./test-venv-03
# Setuptools + download
- python -c 'import sys; sys.exit(0 if sys.version_info >= (3,) else 1)' || coverage run bin/virtualenv.py --setuptools ./test-venv-04
- python -c 'import sys; sys.exit(0 if sys.version_info >= (3,) else 1)' || coverage run -a bin/virtualenv.py --setuptools ./test-venv-04
# How was our test coverage?
- coverage report --show-missing
notifications:
Expand Down

0 comments on commit 0bd111c

Please sign in to comment.