Permalink
Browse files

Measure test coverage.

  • Loading branch information...
1 parent 3f57071 commit 6d2354c2131f1fee7c4956a23b222a2d9f2cc088 @g2p g2p committed Nov 23, 2012
Showing with 7 additions and 4 deletions.
  1. +7 −4 .travis.yml
View
@@ -6,14 +6,17 @@ python:
- "3.2"
- "pypy"
install:
- - pip install --use-mirrors nose
+ - pip install --use-mirrors nose coverage
script:
+ - coverage erase
# Unit tests
- - python setup.py test
+ - coverage run setup.py test
# Integration test
- - python virtualenv.py --distribute ./test-venv
+ - coverage run virtualenv.py --distribute ./test-venv-01
# Another integration test, where we must download
- - cp -t bin virtualenv.py; cd bin; python virtualenv.py --distribute ./test-venv
+ - cp -t bin virtualenv.py; coverage run bin/virtualenv.py --distribute ./test-venv-02
+# How was our test coverage?
+ - coverage report
notifications:
irc:
channels: "irc.freenode.org#pip"

0 comments on commit 6d2354c

Please sign in to comment.