Skip to content

Commit

Permalink
Travis CI: Fix build script
Browse files Browse the repository at this point in the history
We need to pass PG_CONFIG to "sudo make install" because sudo clears
the PATH and so it might run the install step against another version.
  • Loading branch information
petere committed May 21, 2020
1 parent 9277ca4 commit 969031c
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 @@ -22,5 +22,5 @@ script: |
sudo apt-get install postgresql-$PGVERSION postgresql-server-dev-$PGVERSION
sudo pg_createcluster --start $PGVERSION test -p 55435 -- -A trust
make all
sudo make install
sudo make install PG_CONFIG=/usr/lib/postgresql/$PGVERSION/bin/pg_config
PGPORT=55435 make installcheck PGUSER=postgres

0 comments on commit 969031c

Please sign in to comment.