Skip to content

Commit

Permalink
multiple flask versions
Browse files Browse the repository at this point in the history
  • Loading branch information
boyska committed Mar 4, 2016
1 parent b08d369 commit 6e28479
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,18 @@ cache:
- $HOME/.runtimes
- $HOME/.wheelhouse

env:
- VERSION_FLASK="0.10"
- VERSION_FLASK="dev"

python:
- "2.7"

matrix:
allow_failures:
- env: VERSION_FLASK="dev"
fast_finish: true

services:
- elasticsearch

Expand All @@ -21,9 +30,10 @@ install:
- "python setup.py install"

before_script:
- 'if [[ $VERSION_FLASK = dev ]]; then pip install git+https://github.com/mitsuhiko/flask; else pip install --force flask==$VERSION_FLASK; fi'
- sleep 10 # wait for elasticsearch

script:
- 'flake8'
- python setup.py test
- nosetests
- "python setup.py build_sphinx"

0 comments on commit 6e28479

Please sign in to comment.