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 3, 2016
1 parent ebad309 commit 844ecaa
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,17 @@
language: python
cache: pip

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

python:
- "2.7"

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

services:
- elasticsearch

Expand All @@ -12,9 +20,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 844ecaa

Please sign in to comment.