commit 4f973607269383ad00d6b9b559ea2172d9719659
Author: Simon Howard <fraggle@soulsphere.org>
AuthorDate: Mon Nov 11 18:45:29 2019 -0500
Commit: Simon Howard <fraggle@soulsphere.org>
CommitDate: Mon Nov 11 18:45:29 2019 -0500
travis: Perform parallel builds.
According to the page here we get two cores, so run make with -j4 to ensure
there's always at least one process ready to be scheduled on each core.
<https://docs.travis-ci.com/user/reference/overview/>
---
.travis.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.travis.sh b/.travis.sh
index b4321706..0affcf6a 100755
--- a/.travis.sh
+++ b/.travis.sh
@@ -10,8 +10,8 @@ if [ "$ANALYZE" = "true" ] ; then
else
set -e
./autogen.sh --enable-werror
- make
+ make -j4
make install DESTDIR=/tmp/whatever
make dist
- make -C quickcheck check SOURCE_PORT=$PWD/src/chocolate-doom
+ make -j4 -C quickcheck check SOURCE_PORT=$PWD/src/chocolate-doom
fi