From 555ae21f8de9d6c1ecd3d6951fc750b861caa92b Mon Sep 17 00:00:00 2001 From: Corey Date: Wed, 11 Mar 2020 00:12:54 -0400 Subject: [PATCH] Attempt to make tests more reliable: travis should only install postgres once Update .travis.yml (#6490) * Update .travis.yml testing error to see what happens... * Update .travis.yml Attempting to resolve postgres in CL by installing postgis via sudo instead of through apt/packages * Update .travis.yml * Update .travis.yml * Update .travis.yml Removed extra lines of postgres that were under "services" and "addons". I believe the "postgresql" line under "services" was installing the default of 9.6 and "addons" was installing postgres 11. My guess is the fail was occurring due to 9.6 being called sometimes and it never had postgis installed. If this is true, the solution is to only install one version of postgres, which is version 11 with postgis 2.5. --- .travis.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index f5383e20..c47d3362 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,14 +2,12 @@ language: node_js os: linux dist: xenial services: -- postgresql - redis - docker addons: postgresql: '11' apt: packages: - - postgresql-11 - postgresql-11-postgis-2.5 - postgresql-11-postgis-2.5-scripts branches: