forked from GeoNode/django-osgeo-importer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
50 lines (37 loc) · 891 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
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
install:
- ./scripts/install.sh
before_script:
- sudo scripts/before_script.sh
script:
- python manage.py test osgeo_importer
- flake8 osgeo_importer
notifications:
slack: prominentedge:9VnNQcaSr6mHKSC2XHwEjkam
email:
on_success: never
on_failure: never