-
Notifications
You must be signed in to change notification settings - Fork 11
/
.travis.yml
57 lines (44 loc) · 1.05 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
language:
python
python:
- "2.7"
- "3.3"
- "3.4"
- "3.5"
addons:
postgresql: "9.3"
env:
- DJANGO="Django>=1.6.0,<1.7.0"
PSQL=0
- DJANGO="Django>=1.6.0,<1.7.0"
PSQL=1
- DJANGO="Django>=1.7.0,<1.8.0"
PSQL=0
- DJANGO="Django>=1.7.0,<1.8.0"
PSQL=1
- DJANGO="Django>=1.8.0,<1.9.0"
PSQL=0
- DJANGO="Django>=1.8.0,<1.9.0"
PSQL=1
before_script:
- psql -c 'create database travisci;' -U postgres
install:
- pip install $DJANGO coverage six psycopg2 --quiet
script:
- export DJANGO_SETTINGS_MODULE=settings
- export PYTHONPATH=..:$PYTHONPATH
- cd test_project
- python manage.py test interval test_app
- coverage run --source=../interval manage.py test interval test_app
after_success:
coveralls
matrix:
exclude:
- python: "3.5"
env: DJANGO="Django>=1.6.0,<1.7.0" PSQL=0
- python: "3.5"
env: DJANGO="Django>=1.6.0,<1.7.0" PSQL=1
- python: "3.5"
env: DJANGO="Django>=1.7.0,<1.8.0" PSQL=0
- python: "3.5"
env: DJANGO="Django>=1.7.0,<1.8.0" PSQL=1