Merge pull request #393 from CartoDB/travis-pg-93

Back to pg 9.3 and postgresql-plpython-9.3 using sudo=true build
This commit is contained in:
Raul Ochoa 2016-03-03 17:39:28 +01:00
commit 66aea5e10f

View File

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