From 32cdf352b0d9dfe9beaf244d44f05ba3cf25a9b9 Mon Sep 17 00:00:00 2001 From: Mark Longair Date: Tue, 3 Oct 2017 09:53:32 +0100 Subject: [PATCH] Ensure PostGIS works in the new default Travis build environment The explict installation of PostgreSQL 9.6 and PostGIS 2.3 is due to this problem with the new Travis container-based trusty build environment: https://github.com/travis-ci/travis-ci/issues/6972 --- .travis.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.travis.yml b/.travis.yml index 83cb335a..2b5830c8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,6 +5,12 @@ language: python sudo: false +addons: + postgresql: "9.6" + apt: + packages: + - postgresql-9.6-postgis-2.3 + matrix: include: - python: 3.2