From 3181c51637570f408aa8fcc09d0a8e01dfeeac8f Mon Sep 17 00:00:00 2001 From: Rafa de la Torre Date: Mon, 8 Aug 2016 17:15:41 +0200 Subject: [PATCH] Install all postgres packages at once Install all postgres packages at once in order to avoid package configuration issues. --- .travis.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 61a2d51..e03478b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -21,11 +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 apt-get -y install postgresql-9.5 - - sudo apt-get -y install postgresql-server-dev-9.5 - - sudo apt-get -y install postgresql-plpython-9.5 - - sudo apt-get -y install postgresql-9.5-postgis-2.2 - - sudo apt-get -y install postgresql-9.5-postgis-scripts + - 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 - echo -e "# TYPE DATABASE USER ADDRESS METHOD \nlocal all postgres trust\nlocal all all trust\nhost all all 127.0.0.1/32 trust" \