gh-103 Add lines to .travis.yml to produce coveralls code coverage
This commit is contained in:
parent
9bdb451c86
commit
5c3c87e1da
|
@ -8,9 +8,13 @@ before_install:
|
|||
- "sudo apt-get install python-dev python-pip python-pyexiv2 libimage-exiftool-perl -y"
|
||||
install:
|
||||
- "sudo pip install -r elodie/tests/requirements.txt"
|
||||
- "sudo pip install coveralls"
|
||||
# command to run tests
|
||||
# test mapquest key
|
||||
before_script:
|
||||
- "mkdir ~/.elodie"
|
||||
- "sed 's/your-api-key-goes-here/x8wQLqGhW7qK3sFpjYtVTogVtoMK0S8s/g' config.ini-sample > ~/.elodie/config.ini"
|
||||
script: "nosetests -w elodie/tests"
|
||||
after_success:
|
||||
- "coveralls"
|
||||
script:
|
||||
- "nosetests --with-coverage --cover-package=elodie -w elodie/tests"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Hello, I'm Elodie
|
||||
~~ *Your Personal EXIF-based Photo, Video and Audio Assistant* ~~
|
||||
|
||||
[](https://travis-ci.org/jmathai/elodie) [](https://scrutinizer-ci.com/g/jmathai/elodie/?branch=master)
|
||||
[](https://travis-ci.org/jmathai/elodie) [](https://scrutinizer-ci.com/g/jmathai/elodie/?branch=master) [](https://coveralls.io/github/jmathai/elodie?branch=coveralls-test)
|
||||
|
||||
<p align="center"><img src ="creative/logo@300x.png" /></p>
|
||||
|
||||
|
|
Loading…
Reference in New Issue