Skip to content

Commit 284a3d5

Browse files
authored
Attempt to make tests more reliable: travis should only install postgres 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.
1 parent e930df5 commit 284a3d5

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

.travis.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,12 @@ language: node_js
22
os: linux
33
dist: xenial
44
services:
5-
- postgresql
65
- redis
76
- docker
87
addons:
98
postgresql: '11'
109
apt:
1110
packages:
12-
- postgresql-11
1311
- postgresql-11-postgis-2.5
1412
- postgresql-11-postgis-2.5-scripts
1513
branches:

0 commit comments

Comments
 (0)