Use tox for running tests

This commit is contained in:
Matt Wright
2013-12-19 15:10:20 -05:00
parent c302fb8e30
commit 06ce1c68fd
2 changed files with 3 additions and 6 deletions
+2 -5
View File
@@ -7,15 +7,12 @@ 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 py-bcrypt MySQL-python --quiet
before_script:
- mysql -e 'create database flask_security_test;'
- pip install tox simplejson Flask-SQLAlchemy Flask-MongoEngine Flask-Peewee bcrypt --quiet
services:
- mongodb
script: nosetests
script: tox
branches:
only:
+1 -1
View File
@@ -8,6 +8,6 @@ deps =
Flask-SQLAlchemy
Flask-MongoEngine
Flask-Peewee
py-bcrypt
bcrypt
commands = nosetests []