-
Notifications
You must be signed in to change notification settings - Fork 45
/
Copy path.travis.yml
51 lines (40 loc) · 887 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
46
47
48
49
50
51
language: python
python:
- '2.7'
services:
- docker
cache: packages
addons:
apt:
packages:
- libgdal-dev
- libproj-dev
matrix:
include:
- os: linux
env: RUN_TESTS='true'
addons:
postgresql: "9.5"
apt:
packages:
- postgresql-9.5-postgis-2.4
- os: linux
env: BUILD_DOCS='true'
cache: pip
# Travis team suggested fix for truncated log build failures
filter_secrets: false
install:
- if [ "${RUN_TESTS}" == "true" ]; then pip install -r scale/pip/requirements.txt; fi
- if [ "${BUILD_DOCS}" == "true" ]; then pip install -r scale/pip/docs.txt -r scale/pip/production.txt; fi
script:
- ./travis-build.sh
branches:
only:
- master
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/11ff4f6760c5e218ccb7
on_success: change
on_failure: always
on_start: never