Skip to content

Commit

Permalink
gh-103 Add lines to .travis.yml to produce coveralls code coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
jmathai committed Apr 12, 2016
1 parent 9bdb451 commit 5c3c87e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
2 changes: 1 addition & 1 deletion Readme.md
Original file line number Diff line number Diff line change
@@ -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>

Expand Down

0 comments on commit 5c3c87e

Please sign in to comment.