2014-06-03 22:15:31 +08:00
|
|
|
before_script:
|
2014-06-04 00:11:32 +08:00
|
|
|
- lsb_release -a
|
|
|
|
- sudo mv /etc/apt/sources.list.d/pgdg-source.list* /tmp
|
|
|
|
- sudo apt-get -qq purge postgis* postgresql*
|
|
|
|
- sudo rm -Rf /var/lib/postgresql /etc/postgresql
|
2014-06-03 23:53:06 +08:00
|
|
|
- sudo apt-add-repository --yes ppa:cartodb/postgresql-9.3
|
|
|
|
- sudo apt-add-repository --yes ppa:cartodb/gis
|
|
|
|
- sudo apt-get update
|
|
|
|
- sudo apt-get install -q postgresql-9.3-postgis-2.1
|
2014-06-04 00:11:32 +08:00
|
|
|
- sudo apt-get install -q postgresql-contrib-9.3
|
2014-09-22 21:04:45 +08:00
|
|
|
- sudo apt-get install -q postgresql-plpython-9.3
|
2014-06-04 00:11:32 +08:00
|
|
|
- sudo apt-get install -q postgis
|
|
|
|
- sudo apt-get install -q gdal-bin
|
|
|
|
- echo -e "local\tall\tall\ttrust\nhost\tall\tall\t127.0.0.1/32\ttrust\nhost\tall\tall\t::1/128\ttrust" |sudo tee /etc/postgresql/9.3/main/pg_hba.conf
|
|
|
|
- sudo service postgresql restart
|
2014-06-03 21:45:01 +08:00
|
|
|
- psql -c 'create database template_postgis;' -U postgres
|
|
|
|
- psql -c 'CREATE EXTENSION postgis;' -U postgres -d template_postgis
|
2013-10-01 00:12:25 +08:00
|
|
|
- ./configure
|
2013-10-01 00:02:48 +08:00
|
|
|
|
2014-06-19 17:44:33 +08:00
|
|
|
env:
|
|
|
|
- PGUSER=postgres
|
|
|
|
|
2013-10-01 00:02:48 +08:00
|
|
|
language: node_js
|
|
|
|
node_js:
|
|
|
|
- "0.8"
|
2014-03-17 22:23:54 +08:00
|
|
|
- "0.10"
|