Skip to content

Commit

Permalink
Improve travis support.
Browse files Browse the repository at this point in the history
  • Loading branch information
iurisilvio committed Mar 26, 2016
1 parent 6abdf3d commit 34ec1cd
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 8 deletions.
26 changes: 19 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,23 @@
language: python

before_install: pip install tox
python:
- 2.7
- 3.3
- 3.4
- 3.5

env:
- TOXENV=py27-flask-09
- TOXENV=py27-flask-010
- TOXENV=py33
- TOXENV=py34
matrix:
include:
- python: 2.7
- FLASK="<0.10"

script: tox -e $TOXENV
install:
- pip install flask$FLASK
- pip install pytest coverage coveralls
- python setup.py install

script:
- coverage run --source=flask_sqlalchemy_cache setup.py test

after_success:
- coveralls
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
'Flask-Cache',
'Flask-SQLAlchemy',
],
test_suite='flask_sqlalchemy_cache.tests',
classifiers=[
'Environment :: Web Environment',
'Intended Audience :: Developers',
Expand Down
6 changes: 5 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py27-flask-09, py27-flask-010, py33, py34
envlist = py27-flask-09, py27-flask-010, py33, py34, py35

[testenv]
deps=Flask-SQLAlchemy
Expand All @@ -24,3 +24,7 @@ deps={[testenv]deps}
[testenv:py34]
deps={[testenv]deps}
Flask

[testenv:py35]
deps={[testenv]deps}
Flask

0 comments on commit 34ec1cd

Please sign in to comment.