Skip to content

Commit

Permalink
Update .travis.yml to exclude incompatible versions
Browse files Browse the repository at this point in the history
  • Loading branch information
dodobas committed Jul 16, 2018
1 parent 153c387 commit 1a02812
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,34 @@
language: python
sudo: false

python:
- "2.7"
- "3.4"
- "3.5"
- "3.6"

env:
- DJANGO_VERSION=1.10.8
- DJANGO_VERSION=1.11.14
- DJANGO_VERSION=2.0.7

matrix:
exclude:
- python: 2.7
env: DJANGO_VERSION=2.0.7

install:
- pip install -q -r requirements/base.txt
- pip install -q -r requirements/tests.txt
- pip install -q django==$DJANGO_VERSION
- pip install coveralls

before_script:
- createdb -E UTF-8 dash -U postgres -O $USER

script:
- coverage run manage.py test --settings=test_runner.settings_travis --verbosity=2 --noinput
- flake8

after_success:
- coveralls

0 comments on commit 1a02812

Please sign in to comment.