mirror of
https://github.com/wassname/flask-security.git
synced 2026-07-31 12:20:56 +08:00
23 lines
619 B
YAML
23 lines
619 B
YAML
language: python
|
|
|
|
python:
|
|
- "2.5"
|
|
- "2.6"
|
|
- "2.7"
|
|
|
|
install:
|
|
- pip install . --quiet --use-mirrors
|
|
- "if [[ $TRAVIS_PYTHON_VERSION != '2.7' ]]; then pip install importlib simplejson --quiet --use-mirrors; fi"
|
|
- "if [[ $TRAVIS_PYTHON_VERSION == '2.5' ]]; then pip install mongoengine==0.6.5 --quiet --use-mirrors; fi"
|
|
- pip install nose Flask-SQLAlchemy Flask-MongoEngine py-bcrypt MySQL-python --quiet --use-mirrors
|
|
- pip install https://github.com/rduplain/flask-mail/tarball/master
|
|
|
|
before_script:
|
|
- mysql -e 'create database flask_security_test;'
|
|
|
|
script: nosetests
|
|
|
|
branches:
|
|
only:
|
|
- develop
|