From 969031cd252d7b11cf8410725df7b62c5c8fa0ae Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Thu, 21 May 2020 08:22:45 +0200 Subject: [PATCH] Travis CI: Fix build script 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. --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 6749961..faba5dc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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