From 769bfb9df2929ba691f17f38b145eaa007773ba8 Mon Sep 17 00:00:00 2001 From: Paul Kuruvilla Date: Thu, 11 May 2017 17:36:18 +0530 Subject: [PATCH] Try installing pg 9.6.2 manually --- .travis.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 428c916fe6..9ac8480a0c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,13 +3,20 @@ language: python git: depth: 5 addons: - postgresql: 9.5 + postgresql: 9.6 firefox: latest-esr before_install: - git branch -vv | grep '^*' - pwd - find . -name "*.sh" -exec bash -n {} \; + # Temporarily install 9.6.2 manually, remove once 9.6.2 is default on Travis + + - sudo add-apt-repository "deb http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg main" + - wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add - + - sudo apt-get update + - sudo apt-get install postgresql-9.6 + # Sometimes ya just halfta ... - git clone -b "2.1.0" --depth 1 https://github.com/lloyd/yajl.git && cd yajl && ./configure && sudo make install && cd ..