forked from tulsawebdevs/django-multi-gtfs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
53 lines (53 loc) · 1.76 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
language: python
dist: trusty
sudo: false
addons:
postgresql: "9.5"
apt:
packages:
- postgresql-9.5-postgis-2.3
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=py35-django19-postgis
python: "3.5"
- env: TOX_ENV=py27-django110-postgis
python: "2.7"
- env: TOX_ENV=py35-django110-postgis
python: "3.5"
- env: TOX_ENV=py27-django111-postgis
python: "2.7"
- env: TOX_ENV=py36-django111-postgis
python: "3.6"
- env: TOX_ENV=py35-django20-postgis
python: "3.5"
- env: TOX_ENV=py36-django20-postgis
python: "3.6"
- env: TOX_ENV=py35-django21-postgis
python: "3.5"
- env: TOX_ENV=py36-django21-postgis
python: "3.6"
- env: TOX_ENV=py35-django-master-postgis
python: "3.5"
- env: TOX_ENV=py36-django-master-postgis
python: "3.6"
- env: TOX_ENV=py37-django-master-postgis
python: "3.7"
allow_failures:
# Django master is allowed to fail
- env: TOX_ENV=py35-django-master-postgis
- env: TOX_ENV=py36-django-master-postgis
- env: TOX_ENV=py37-django-master-postgis