mirror of
https://github.com/wassname/flask-security.git
synced 2026-07-10 00:30:24 +08:00
Add coverage and coveralls to .travis.yml
This commit is contained in:
+5
-2
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user