Use postgresql-9.5 in travis

This commit is contained in:
Raul Ochoa 2016-05-31 18:26:06 +02:00
parent 1a6cf26544
commit a3b8ac17ba

View File

@ -3,12 +3,12 @@ before_script:
- 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
- sudo apt-add-repository --yes ppa:cartodb/postgresql-9.3
- sudo apt-add-repository --yes ppa:cartodb/postgresql-9.5
- sudo apt-add-repository --yes ppa:cartodb/gis
- sudo apt-get update
- sudo apt-get install -q postgresql-9.3-postgis-2.1
- sudo apt-get install -q postgresql-contrib-9.3
- sudo apt-get install -q postgresql-plpython-9.3
- sudo apt-get install -q postgresql-9.5-postgis-2.2
- sudo apt-get install -q postgresql-contrib-9.5
- sudo apt-get install -q postgresql-plpython-9.5
- sudo apt-get install -q postgis
- sudo apt-get install -q gdal-bin
- sudo apt-get install -q ogr2ogr2-static-bin