forked from tulsawebdevs/django-multi-gtfs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
50 lines (50 loc) · 1.78 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
language: python
sudo: false
install: pip install tox coveralls
script: tox -e $TOX_ENV
after_success: coveralls
before_script:
- cp t_overrides.travis.py t_overrides.py
- psql -U postgres -c "DROP DATABASE IF EXISTS multigtfs"
- psql -U postgres -c "CREATE DATABASE multigtfs"
- psql -U postgres -d multigtfs -c "CREATE EXTENSION IF NOT EXISTS postgis; CREATE EXTENSION IF NOT EXISTS postgis_topology;"
matrix:
include:
- env: TOX_ENV=py27-django18-postgis
python: "2.7"
- env: TOX_ENV=py34-django18-postgis
python: "3.4"
- env: TOX_ENV=py27-django19-postgis
python: "2.7"
- env: TOX_ENV=py34-django19-postgis
python: "3.4"
- env: TOX_ENV=py35-django19-postgis
python: "3.5"
- env: TOX_ENV=py27-django110-postgis
python: "2.7"
- env: TOX_ENV=py34-django110-postgis
python: "3.4"
- env: TOX_ENV=py35-django110-postgis
python: "3.5"
- env: TOX_ENV=py27-django111-postgis
python: "2.7"
- env: TOX_ENV=py34-django111-postgis
python: "3.4"
- env: TOX_ENV=py35-django111-postgis
python: "3.5"
- env: TOX_ENV=py36-django111-postgis
python: "3.6"
- env: TOX_ENV=py27-djangomaster-postgis
python: "2.7"
- env: TOX_ENV=py34-djangomaster-postgis
python: "3.4"
- env: TOX_ENV=py35-djangomaster-postgis
python: "3.5"
- env: TOX_ENV=py36-djangomaster-postgis
python: "3.6"
allow_failures:
# Django master is allowed to fail
- env: TOXENV=py27-djangomaster-postgis
- env: TOXENV=py34-djangomaster-postgis
- env: TOXENV=py35-djangomaster-postgis
- env: TOXENV=py36-djangomaster-postgis