From d625f9a72cd281ebdc2173814d0810a84a54c71b Mon Sep 17 00:00:00 2001 From: Andy Smith Date: Thu, 21 Feb 2019 20:33:03 +0000 Subject: [PATCH 1/3] update CKAN version for unit tests --- bin/travis-build.bash | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/travis-build.bash b/bin/travis-build.bash index f8ef0c5..0ac27c1 100644 --- a/bin/travis-build.bash +++ b/bin/travis-build.bash @@ -8,9 +8,9 @@ sudo apt-get update -qq sudo apt-get install postgresql-$PGVERSION solr-jetty libcommons-fileupload-java:amd64=1.2.2-1 echo "Installing CKAN and its Python dependencies..." -git clone https://github.com/aptivate/ckan +git clone https://github.com/ckan/ckan cd ckan -export ckan_branch=mapaction-dev +export ckan_branch=2.7 echo "CKAN branch: $ckan_branch" git checkout $ckan_branch python setup.py develop From 57d55c467a7aa8cde0d2a11582a449a3907247b1 Mon Sep 17 00:00:00 2001 From: Andy Smith Date: Thu, 21 Feb 2019 20:54:00 +0000 Subject: [PATCH 2/3] Update postgresql version --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 8419923..48227c7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,7 +2,7 @@ language: python sudo: required python: - "2.7" -env: PGVERSION=9.1 +env: PGVERSION=9.3 install: - bash bin/travis-build.bash - pip install coveralls From 86e475642660cf3261bc385adff28f349b4230b0 Mon Sep 17 00:00:00 2001 From: Andy Smith Date: Thu, 21 Feb 2019 23:52:26 +0000 Subject: [PATCH 3/3] explict psql client version --- .travis.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.travis.yml b/.travis.yml index 40ac7f0..b32e392 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,6 +4,9 @@ python: - "2.7" addons: postgresql: "9.3" + apt: + packages: + - postgresql-client-9.3 install: - bash bin/travis-build.bash - pip install coveralls