Add coverage and coveralls to .travis.yml

This commit is contained in:
Matt Wright
2014-01-24 14:09:39 -05:00
parent 668b4ee651
commit 2006d2ae3d
+5 -2
View File
@@ -9,12 +9,15 @@ python:
install:
- pip install . --quiet
- "if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then pip install importlib --quiet --use-mirrors; fi"
- pip install nose simplejson Flask-SQLAlchemy Flask-MongoEngine Flask-Peewee bcrypt --quiet
- pip install nose simplejson Flask-SQLAlchemy Flask-MongoEngine Flask-Peewee bcrypt coverage coveralls --quiet
services:
- mongodb
script: nosetests
script: nosetests --with-coverage --cover-package flask_security
after_script:
- coveralls
branches:
only: