Stop postgresql default instance

Stop travis postgres default instance before trying to install postgres
9.5.
This commit is contained in:
Rafa de la Torre
2016-08-08 17:53:07 +02:00
parent 3181c51637
commit 57aa28ee5c

View File

@@ -21,6 +21,7 @@ before_install:
- sudo apt-get -y --no-install-recommends install python-scikits-learn=0.14.1-3-cdb2
# Install postgres db and build deps
- sudo /etc/init.d/postgresql stop # stop travis default instance
- sudo apt-get -y install postgresql-9.5 postgresql-server-dev-9.5 postgresql-plpython-9.5 postgresql-9.5-postgis-2.2 postgresql-9.5-postgis-scripts
# configure it to accept local connections from postgres