-
Notifications
You must be signed in to change notification settings - Fork 9
/
.travis.yml
50 lines (48 loc) · 960 Bytes
/
.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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
sudo: false
dist: xenial
language: python
python:
- "3.6"
- "3.7"
- "3.8"
addons:
postgresql: "10"
env:
global:
- DJANGO_SETTINGS_MODULE=test_project.settings
matrix:
- DJANGO=1.9
- DJANGO=1.10
- DJANGO=1.11
- DJANGO=2.0
- DJANGO=2.1
- DJANGO=3.0
- DJANGO=3.0.7
matrix:
exclude:
- python: "2.7"
env: DJANGO=2.0
- python: "2.7"
env: DJANGO=2.1
- python: "2.7"
env: DJANGO=3.0
- python: "2.7"
env: DJANGO=3.0.7
- python: "3.7"
env: DJANGO=1.9
- python: "3.7"
env: DJANGO=1.10
- python: "3.7"
env: DJANGO=1.11
- python: "3.8"
env: DJANGO=1.9
- python: "3.8"
env: DJANGO=1.10
- python: "3.8"
env: DJANGO=1.11
install:
- pip install django==${DJANGO} Pillow psycopg2-binary
- pip install .
before_script:
- psql -c 'create database test_jsonate;' -U postgres
script: python test_project/manage.py test test_app