1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2026-06-21 01:34:15 +02:00

travis: build only required PG objects to speed up test

This commit is contained in:
Grigory Smolkin
2021-06-18 01:15:43 +03:00
parent cf8fb8c9de
commit d65ae6ccbd
+4 -1
View File
@@ -36,7 +36,10 @@ git clone https://github.com/postgres/postgres.git -b $PG_BRANCH --depth=1
echo "############### Compiling Postgres:"
cd postgres # Go to postgres dir
./configure --prefix=$PGHOME --enable-debug --enable-cassert --enable-depend --enable-tap-tests
make -s -j$(nproc) install
#make -s -j$(nproc) install
make -s -j$(nproc) -C 'src/common' install
make -s -j$(nproc) -C 'src/port' install
make -s -j$(nproc) -C 'src/interfaces' install
make -s -j$(nproc) -C contrib/ install
# Override default Postgres instance