forked from openwisp/django-rest-framework-gis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
45 lines (39 loc) · 841 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
dist: trusty
sudo: false
language: python
cache: pip
addons:
postgresql: "9.3"
apt:
packages:
- postgresql-9.3-postgis-2.3
services:
- postgresql
matrix:
include:
- env: TOXENV=py27-django111
python: 2.7
- env: TOXENV=py34-django111
python: 3.4
- env: TOXENV=py35-django111
python: 3.5
- env: TOXENV=py36-django111
python: 3.6
- env: TOXENV=py34-django20
python: 3.4
- env: TOXENV=py35-django20
python: 3.5
- env: TOXENV=py36-django20
python: 3.6
branches:
only:
- master
install:
- pip install coverage tox
before_script:
- createdb django_restframework_gis
- psql -U postgres -d django_restframework_gis -c "CREATE EXTENSION postgis;"
script:
- coverage run --source=rest_framework_gis $(command -v tox)
after_success:
coveralls