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* ~~
|
||||
|
||||
[![Build Status](https://travis-ci.org/jmathai/elodie.svg?branch=master)](https://travis-ci.org/jmathai/elodie) [![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/jmathai/elodie/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/jmathai/elodie/?branch=master)
|
||||
[![Build Status](https://travis-ci.org/jmathai/elodie.svg?branch=master)](https://travis-ci.org/jmathai/elodie) [![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/jmathai/elodie/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/jmathai/elodie/?branch=master) [![Coverage Status](https://coveralls.io/repos/github/jmathai/elodie/badge.svg?branch=coveralls-test)](https://coveralls.io/github/jmathai/elodie?branch=coveralls-test)
|
||||
|
||||
<p align="center"><img src ="creative/logo@300x.png" /></p>
|
||||
|
||||
|
|
Loading…
Reference in New Issue