Commit ebda0970765e881feddd1879fb39ac9a3aa951a8

Carlos Martín Nieto 2014-09-16T02:07:39

script: use a parallel build on Travis

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/script/cibuild.sh b/script/cibuild.sh
index dda4ead..abe31d0 100755
--- a/script/cibuild.sh
+++ b/script/cibuild.sh
@@ -15,7 +15,7 @@ export GITTEST_REMOTE_URL="git://localhost/test.git"
 mkdir _build
 cd _build
 cmake .. -DCMAKE_INSTALL_PREFIX=../_install $OPTIONS || exit $?
-cmake --build . --target install || exit $?
+make -j2 install || exit $?
 ctest -V . || exit $?
 
 # Now that we've tested the raw git protocol, let's set up ssh to we