Skip to content

Commit d65ae6c

Browse files
committed
travis: build only required PG objects to speed up test
1 parent cf8fb8c commit d65ae6c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

travis/run_tests.sh

+4-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,10 @@ git clone https://github.com/postgres/postgres.git -b $PG_BRANCH --depth=1
3636
echo "############### Compiling Postgres:"
3737
cd postgres # Go to postgres dir
3838
./configure --prefix=$PGHOME --enable-debug --enable-cassert --enable-depend --enable-tap-tests
39-
make -s -j$(nproc) install
39+
#make -s -j$(nproc) install
40+
make -s -j$(nproc) -C 'src/common' install
41+
make -s -j$(nproc) -C 'src/port' install
42+
make -s -j$(nproc) -C 'src/interfaces' install
4043
make -s -j$(nproc) -C contrib/ install
4144

4245
# Override default Postgres instance

0 commit comments

Comments
 (0)