Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

42 lines (30 sloc) 1.212 kb
# This is the config file for building TileStache and running the test suite
# with Travis-ci.org
language: python
python:
- "2.7"
virtualenv:
system_site_packages: true
services:
- memcached
before_install:
- sudo rm /etc/apt/sources.list.d/ubuntugis-stable-source.list
- sudo apt-get update -qq
- sudo apt-get install -qq gdal-bin memcached python-pip
- sudo apt-get install -qq python-nose python-imaging python-memcache python-gdal
- sudo apt-get install -qq python-coverage python-werkzeug python-psycopg2
- ogrinfo --version
- ogrinfo --formats
before_script:
- sudo -u postgres psql -c "drop database if exists test_tilestache"
- sudo -u postgres psql -c "create database test_tilestache"
- sudo -u postgres psql -c "create extension postgis" -d test_tilestache
- sudo -u postgres ogr2ogr -nlt MULTIPOLYGON -f "PostgreSQL" PG:"user=postgres dbname=test_tilestache" ./examples/sample_data/world_merc.shp
install:
- sudo pip install -r requirements.txt --use-mirrors --allow-external ModestMaps --allow-unverified ModestMaps
script:
- nosetests -v --with-coverage --cover-package TileStache
notifications:
email:
recipients:
- mike-travisci@teczno.com
Jump to Line
Something went wrong with that request. Please try again.