forked from TileStache/TileStache
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
47 lines (37 loc) · 953 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
# This is the config file for building TileStache and running the test suite
# with Travis-ci.org
language: python
sudo: required
dist: trusty
python:
- "2.7"
- "3.4"
addons:
postgresql: "9.4"
apt:
packages:
- postgresql-9.4-postgis-2.3
- python-dev
- libgdal1-dev
- python-werkzeug
virtualenv:
system_site_packages: true
services:
- memcached
- postgresql
install:
- export CPLUS_INCLUDE_PATH=/usr/include/gdal
- export C_INCLUDE_PATH=/usr/include/gdal
- pip install gdal==1.10
- pip install nose coverage
- pip install -r requirements.txt
before_script:
- psql -U postgres -c "drop database if exists test_tilestache"
- psql -U postgres -c "create database test_tilestache"
- psql -U postgres -c "create extension postgis" -d test_tilestache
script:
- nosetests -v --with-coverage --cover-package TileStache
notifications:
email:
recipients: