Files
Jon Banafato 132ced5675 Merge pull request #442 from nfvs/migrate_travis_containers
Migrate to Travis container-based infrastructure, optimize build with pip caching.
2015-11-18 11:29:14 -05:00

40 lines
558 B
YAML

language: python
python:
- "2.6"
- "2.7"
- "3.3"
- "3.4"
- "3.5"
- "pypy"
sudo: false
cache:
- apt
- pip
install:
- pip install -r requirements.txt -r requirements-dev.txt -e .
- pip install coverage coveralls
- "if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then pip install importlib; fi"
addons:
apt:
sources:
- deadsnakes
packages:
- python3.5
services:
- mongodb
script: py.test --cov flask_security --cov-report term-missing --pep8 --flakes
after_script:
- coveralls
branches:
only:
- develop