Thanks to a great presentation by foundatron on the continuous
integration framework, Travis CI, I’ve finally been motivated to push
for higher test coverage in my python projects.
Some of these projects require connectivity to a
PostGIS database for testing, and with Travis CI that process is extremely straightforward.
This post includes notes on configuring a Travis CI environment with PostgreSQL and PostGIS, then
loading that empty database with data.
NOTE: These versions are current as of January 2014.
- PostgreSQL: 9.1.11 by default, although you can explicitly declare 9.2 or 9.3.
- PostGIS: 2.1.1 r12113
- GEOS: 3.3.8
- PROJ: 4.8.0
- GDAL: 1.9.2