Skip to content

Commit

Permalink
Fix failing PostgreSQL install on travis-ci
Browse files Browse the repository at this point in the history
Presumably due to a change to the travis base image [1]
the init of a database cluster failed.
Since we don't need a prepared cluster, but the executables only,
this can be solved by the extract-only mode.

[1] https://blog.travis-ci.com/2017-12-12-new-trusty-images-q4-launch
  • Loading branch information
larskanis committed Dec 22, 2017
1 parent a6ac78c commit a9381fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ before_install:
if [ -z "$PGCROSS" ]; then
wget http://get.enterprisedb.com/postgresql/postgresql-$PGVERSION.run && \
chmod +x postgresql-$PGVERSION.run && \
sudo ./postgresql-$PGVERSION.run --mode unattended --unattendedmodeui minimal
sudo ./postgresql-$PGVERSION.run --extract-only 1 --mode unattended
fi
script: |
if [ -z "$PGCROSS" ]; then
Expand Down

0 comments on commit a9381fe

Please sign in to comment.