From a0021db87f92d04d69c036b9409320954092b61b Mon Sep 17 00:00:00 2001 From: Javier Goizueta Date: Fri, 30 Sep 2016 10:58:04 +0200 Subject: [PATCH] force postgis scrips downgrade package installation does not fail now but postgis is not available --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 2ad9a37..e2ffdd6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -43,7 +43,7 @@ before_install: - sudo apt-get -y install postgresql-server-dev-9.5=9.5.2-2ubuntu1 - sudo apt-get -y install postgresql-plpython-9.5=9.5.2-2ubuntu1 - sudo apt-get -y install postgresql-9.5-postgis-2.2=2.2.2.0-cdb2 - # - sudo apt-get -y install postgresql-9.5-postgis-scripts=2.2.2.0-cdb2 + - sudo apt-get -y --force-yes install postgresql-9.5-postgis-scripts=2.2.2.0-cdb2 # 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" \