This repository has been archived by the owner on Jul 19, 2021. It is now read-only.
forked from GeoNode/django-osgeo-importer
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
56 lines (42 loc) · 1.59 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
54
55
56
sudo: required
dist: trusty
language: python
cache:
directories:
- gs
- $HOME/.cache/pip
- importer-test-files
addons:
postgresql: "9.3"
services:
- postgresql
matrix:
include:
- python: "2.7"
env: GS_VERSION=2.7.x GDAL_DATA="/usr/local/lib/gdal/share/gdal/"
- python: "2.7"
env: GS_VERSION=2.8.x GDAL_DATA="/usr/local/lib/gdal/share/gdal/"
- python: "2.7"
env: GS_VERSION=master GDAL_DATA="/usr/local/lib/gdal/share/gdal/"
virtualenv:
system_site_packages: true
before_install:
- chmod +x ./scripts/install.sh
- chmod +x ./scripts/before_script.sh
- chmod +x ./scripts/run_tests.sh
install:
- ./scripts/install.sh
- pip install coveralls
before_script:
- sudo scripts/before_script.sh
script:
- flake8 osgeo_importer
- ./scripts/run_tests.sh
after_success:
- coveralls
notifications:
slack:
secure: cNd9fprzJlK6dqTCra9P6DCVr39WJmVASdOe0U1DbT5l1kYUmXrf3R4ZFVUlScLBSn5jFYFg6/D1kMiHNC40F7Xf0Cw/HUQbUgCaPrBs54NxqeYz4kUU9xAkaIyzNjFVwjcyLlHZh+AAOpe1ZzdnSup1Q9OMXdfkI6s4wR5DyrPGYsMIkT1ccmpOQp0a0i2PUd3XH054kRPtCwgeR745QlU7WiyrhSdQ4f2bZtbZ0pgG9NeiRxlY67tr9Evcg6obfLOwELR2HVWwNMyyGnFdMXyaYrSUDrQ0Du1hgLpQ+JqwgDxkxmKagOEGvAT6uGkzwUGrEOP7y4ozsLhtLfdEOkfWW06TsXAYPMu1+n6d9pbKPJs08lw9C2hPJQpUkrp9d+vhJv3d02N6OJwD7wcSCgXheUSMgGAYPw3zQOH2vn3GbHtQh63JNg305wArgTdWLZfpAxaTNfyURJkPTYL3HMgMErFBfOyj3OVFB9VRrkFFsU8W4/iFqvMIhHaFFZtdqYCp5w/9CPp+oSii8pLnPPmB2HO25XWOI4XWskLiGsllq9Qp/A3JHZY7Vb9U6UFkeo0ve94QkjSZH4ha55+FrrT1JTIE5CwsBcoj2Ro43OyahQUU27PospX9UhACrizGJ55bEAVbeNatAUvyw7lrlzdPnODOGdGAlI2B2gm+ztg=
email:
on_success: never
on_failure: never