Skip to content

Instantly share code, notes, and snippets.

@alculquicondor
Last active September 1, 2016 17:18
Show Gist options
  • Select an option

  • Save alculquicondor/9fcf6e1092642bec388da33176f7a646 to your computer and use it in GitHub Desktop.

Select an option

Save alculquicondor/9fcf6e1092642bec388da33176f7a646 to your computer and use it in GitHub Desktop.
language: python
dist: trusty
sudo: false
addons:
postgresql: "9.4"
apt:
packages:
- proj
- python-werkzeug
virtualenv:
system_site_packages: true
services:
- postgresql
- memcached
python:
- "2.7"
before_install:
- wget http://download.osgeo.org/gdal/2.1.1/gdal-2.1.1.tar.gz
- tar xzf gdal-2.1.1.tar.gz
- cd gdal-2.1.1
- ./configure --with-python
- make
- make install
- ldconfig
install:
- 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
- ogr2ogr -nlt MULTIPOLYGON -f "PostgreSQL" PG:"user=postgres dbname=test_tilestache" ./examples/sample_data/world_merc.shp
script:
- nosetests -v --with-coverage --cover-package TileStache
notifications:
email:
recipients:
- [email protected]
ModestMaps
simplejson
shapely
pillow
psycopg2
python-memcached
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment