forked from planetfederal/django-osgeo-importer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.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: kEr/kA3yDp2dVKAs33veSzUG7QNppwD5E/rCisJwA0hasI/NkW95lCfS9/dqmvPoNiUoYxZwySPJVNVP9u2jAVMhqYe/WjPjm1aGqB3ouSzr/gmm9rfCFTMeR+iDIJgApu0jvEqlq9X4RIO/cOeGsgTinAL+auvkmulacxf2xcyjEXSmre7jSSzr+JLtwpkF67MOl5f9S522L81vVX6KGuYhwYxQFJMFLBtu1WHFzTH+BOssnMpctVYbZvx+zHr79zS/wn2yareUl7yCR2E6PQrGRzZsR1ljg4YTc7tDmSE1cW5ojORJhK1AyieUYRJEIfhIqJ3dp7EK5wrk97oKl6tsoGsNJSpvCnp12+MCW82ioA92K1cuUZi4BBEos538z0eaVqqxFZBdNF5MqvhGg8bAtoE2wnSFrSpTmUMvID5WzNq3U2H+PBOtD67qhTeINEKic6C7tHmNMQTAtz4gZvFPK+3fDktLVIV5dUy6oPbB5zqcEnuIxmLJNl8U3KoiAZo+hwB7QBF6xi2V7yIEvsGHZGNT4ABc+sSgaupbrlePgsKzfQIk6kk97ppbDrSazIKNvf0kJQm0LZzwbkUZVmnfVtkgoF6EeygCxVykCDhsKUJpRZeJB5F/YOXVuXIC/WoFPLN0pRq30oTfoOuEbi1Ik1llvlBueYGBOhiLsuM=
email:
on_success: never
on_failure: never