-
Notifications
You must be signed in to change notification settings - Fork 30
/
.travis.yml
53 lines (45 loc) · 1.25 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
# https://github.com/travis-ci/travis-ci/wiki/.travis.yml-options
# Set the distribution to Ubuntu 16.04
dist: xenial
# Set the language to Python
language: python
# Configure PostgreSQL and PostGIS
services:
- postgresql
addons:
postgresql: 9.6
apt:
packages:
- postgresql-9.6-postgis-2.4
# libevent development files are required for gevent
- libevent-dev
# Install GeoDjango dependencies -- see
# https://docs.djangoproject.com/en/dev/ref/contrib/gis/install/#ubuntu
- binutils
- gdal-bin
- libgdal-dev
- libproj-dev
# Set any project environment variables below here...
env:
- DATABASE_URL=postgis://postgres:postgres@localhost:5432/shareabouts
install: "ci/install.sh"
#script: "src/manage.py test project sa_api_v2 remote_client_user --with-coverage --cover-package=sa_api_v2 --cover-package=remote_client_user"
script: "coverage run --include 'src/sa_api_v2/*' src/manage.py test project sa_api_v2"
after_success: "coverage report"
python:
- "2.7"
- "3.6"
notifications:
irc:
channels:
- "irc.freenode.org#shareabouts"
on_success: change
on_failure: always
email:
recipients:
- dev@openplans.org
on_success: change
on_failure: always
# branches:
# only:
# - master