-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy path.travis.yml
33 lines (33 loc) · 1.03 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
sudo: false
language: python
python:
- "2.7"
- "3.4"
- "3.5"
- "3.6"
env:
- DB=sqlite DJANGO_PACKAGE=Django~=1.11
- DB=postgres DJANGO_PACKAGE=Django~=1.11
- DB=sqlite DJANGO_PACKAGE=Django~=2.0
- DB=postgres DJANGO_PACKAGE=Django~=2.0
- DB=postgres DJANGO_PACKAGE='--pre Django>2.0,<2.2'
- DB=sqlite DJANGO_PACKAGE='--pre Django>2.0,<2.2'
matrix:
exclude:
- python: "2.7"
env: DB=sqlite DJANGO_PACKAGE=Django~=2.0
- python: "2.7"
env: DB=postgres DJANGO_PACKAGE=Django~=2.0
- python: "2.7"
env: DB=postgres DJANGO_PACKAGE='--pre Django>2.0,<2.2'
- python: "2.7"
env: DB=sqlite DJANGO_PACKAGE='--pre Django>2.0,<2.2'
- python: "3.4"
env: DB=postgres DJANGO_PACKAGE='--pre Django>2.0,<2.2'
- python: "3.4"
env: DB=sqlite DJANGO_PACKAGE='--pre Django>2.0,<2.2'
install: 'pip install $DJANGO_PACKAGE && pip install .'
script: make test SETTINGS=tests.travis_settings
before_script:
- psql -c 'create database test_ool;' -U postgres
- pip install psycopg2-binary