-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
50 lines (41 loc) · 977 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
language: python
env:
global:
- DATABASE_NAME=travis
- DATABASE_USER=travis
- DATABASE_PASSWORD=""
- DATABASE_HOST=127.0.0.1
- DATABASE_PORT=5432
matrix:
- DJANGO_VERSION=1.8.18
- DJANGO_VERSION=1.9.13
- DJANGO_VERSION=1.10.8
- DJANGO_VERSION=1.11.28
python: 2.7
matrix:
include:
- python: 3.5
env: DJANGO_VERSION=1.11.28
- python: 3.6
env: DJANGO_VERSION=1.11.28
- python: 3.7
env: DJANGO_VERSION=1.11.28
- python: 3.8
env: DJANGO_VERSION=1.11.28
- python: 3.5
env: DJANGO_VERSION=2.0.13
- python: 3.5
env: DJANGO_VERSION=2.1.15
- python: 3.5
env: DJANGO_VERSION=2.2.10
addons:
postgresql: "9.4"
services: postgresql
install:
- pip install coveralls psycopg2 pyyaml
- pip install -q Django==$DJANGO_VERSION
- pip install --upgrade mock
before_script:
- python manage.py migrate
script: coverage run manage.py test tests
after_success: coveralls