Skip to content

Commit

Permalink
Attempt to make tests more reliable: travis should only install postg…
Browse files Browse the repository at this point in the history
…res once

Update .travis.yml (parse-community#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.
  • Loading branch information
cbaker6 authored Mar 11, 2020
1 parent e930df5 commit 284a3d5
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 284a3d5

Please sign in to comment.