diff options
author | Stefan Kögl <stefan@skoegl.net> | 2013-07-08 11:36:42 +0200 |
---|---|---|
committer | Stefan Kögl <stefan@skoegl.net> | 2013-07-08 11:36:42 +0200 |
commit | 4ed55a3fb5e85ccf95ffa0f505c72af5b4bb447d (patch) | |
tree | c051c21b10d9260846d659602035d8af525fff42 /.travis.yml | |
parent | fe29c9e6cfa8ea3833ef464438f9a9c2346b5203 (diff) | |
download | python-json-patch-4ed55a3fb5e85ccf95ffa0f505c72af5b4bb447d.tar.gz |
rework coverage calculation for coveralls.io
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml index 15b2a4a..9473cc9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,7 +5,13 @@ python: - "3.2" - "3.3" - "pypy" -# command to install dependencies -install: pip install -r requirements.txt -# command to run tests -script: nosetests tests.py + +install: + - pip install -r requirements.txt + - pip install coveralls --use-mirrors + +script: + - coverage run --source=jsonpatch tests.py + +after_script: + - coveralls |