Improved travis tests. Added Django==1.11 tests

This commit is contained in:
Syrus Akbary 2017-04-15 01:11:36 -07:00
parent 5833cb83be
commit b30b40e353

View File

@ -25,6 +25,7 @@ install:
pip install -e .[test]
pip install psycopg2 # Required for Django postgres fields testing
pip install django==$DJANGO_VERSION
pip install django-filter==$DJANGO_FILTER_VERSION
python setup.py develop
elif [ "$TEST_TYPE" = lint ]; then
pip install flake8
@ -45,18 +46,20 @@ after_success:
fi
env:
matrix:
- TEST_TYPE=build DJANGO_VERSION=1.10
- TEST_TYPE=build DJANGO_VERSION=1.11 DJANGO_FILTER_VERSION=1.0.2
matrix:
fast_finish: true
include:
- python: '2.7'
env: TEST_TYPE=build DJANGO_VERSION=1.6
env: TEST_TYPE=build DJANGO_VERSION=1.6 DJANGO_FILTER_VERSION=1.0.0
- python: '2.7'
env: TEST_TYPE=build DJANGO_VERSION=1.7
env: TEST_TYPE=build DJANGO_VERSION=1.7 DJANGO_FILTER_VERSION=1.0.0
- python: '2.7'
env: TEST_TYPE=build DJANGO_VERSION=1.8
env: TEST_TYPE=build DJANGO_VERSION=1.8 DJANGO_FILTER_VERSION=1.0.2
- python: '2.7'
env: TEST_TYPE=build DJANGO_VERSION=1.9
env: TEST_TYPE=build DJANGO_VERSION=1.9 DJANGO_FILTER_VERSION=1.0.2
- python: '2.7'
env: TEST_TYPE=build DJANGO_VERSION=1.10 DJANGO_FILTER_VERSION=1.0.2
- python: '2.7'
env: TEST_TYPE=lint
deploy: