mirror of
https://github.com/wassname/flask-security.git
synced 2026-07-07 00:06:15 +08:00
Use tox for running tests
This commit is contained in:
+2
-5
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user