Skip to content

Commit fb95c12

Browse files
committed
Add Django 2.1 to TravisCI build
1 parent 0e5c7ec commit fb95c12

File tree

1 file changed

+20
-5
lines changed

1 file changed

+20
-5
lines changed

.travis.yml

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,39 @@
11
language: python
2+
dist: xenial
3+
sudo: true
4+
services:
5+
- postgresql
26
python:
37
- "2.7"
48
- "3.4"
59
- "3.5"
610
- "3.6"
11+
- "3.7"
712
env:
813
- DJANGO='django>=1.11,<2'
914
- DJANGO='django>=2,<2.1'
15+
- DJANGO='django~=2.1.0'
1016
- DJANGO='--pre django'
1117
matrix:
1218
exclude:
13-
- python: "2.7"
14-
env: DJANGO='django>=2,<2.1'
15-
- python: "3.4"
16-
env: DJANGO='--pre django'
19+
- python: "2.7"
20+
env: DJANGO='--pre django'
21+
- python: "2.7"
22+
env: DJANGO='django~=2.1.0'
23+
- python: "2.7"
24+
env: DJANGO='django>=2,<2.1'
25+
- python: "3.4"
26+
env: DJANGO='django~=2.1.0'
27+
- python: "3.4"
28+
env: DJANGO='--pre django'
29+
- python: "3.7"
30+
env: DJANGO='django>=1.11,<2'
1731
allow_failures:
1832
- env: DJANGO='--pre django'
1933
fast_finish: true
20-
install:
34+
before_script:
2135
- psql -c 'CREATE DATABASE orderable' -U postgres;
36+
install:
2237
- pip install $DJANGO
2338
- pip install -r requirements.txt
2439
- pip install -e .

0 commit comments

Comments
 (0)