From a9eabe21926b38a729c7b272c718435b365cc626 Mon Sep 17 00:00:00 2001 From: Paul Kuruvilla Date: Fri, 5 May 2017 16:51:50 +0530 Subject: [PATCH] Try to install pg 9.6.2 manually --- .travis.yml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index a381534f24..1f41d22ea0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,11 +1,25 @@ dist: trusty language: python +sudo: true # # Bring this back once pg 9.6.2 is available + git: depth: 5 addons: - postgresql: 9.3 + # Bring this back once pg 9.6.2 is available + # postgresql: 9.6 firefox: latest-esr before_install: + # Remove this block once pg 9.6.2 is available + - psql --version + - sudo /etc/init.d/postgresql stop + - "! sudo service postgresql status" + - sudo add-apt-repository "deb https://apt.postgresql.org/pub/repos/apt/ trusty-pgdg main" + - sudo apt-get update + - sudo apt-get install postgresql-9.6 + - sudo /etc/init.d/postgresql start + - sudo service postgresql status + - psql --version + - git branch -vv | grep '^*' - pwd - find . -name "*.sh" -exec bash -n {} \;