Attempt to use travis' container based builds

This commit is contained in:
Raul Ochoa 2016-01-13 18:59:33 +01:00
parent 9e74e8633a
commit 353919239d

View File

@ -1,10 +1,11 @@
sudo: false
addons: addons:
postgresql: "9.3" postgresql: "9.3"
before_install: before_install:
- sudo apt-get update - sudo apt-get update
- sudo apt-get install -y pkg-config libcairo2-dev libjpeg8-dev libgif-dev - sudo apt-get install -y postgresql-plpython-9.3 pkg-config libcairo2-dev libjpeg8-dev libgif-dev
- sudo apt-get install postgresql-plpython-9.3
- createdb template_postgis - createdb template_postgis
- psql -c "CREATE EXTENSION postgis" template_postgis - psql -c "CREATE EXTENSION postgis" template_postgis