summaryrefslogtreecommitdiff
path: root/.travis/cmake-osx
diff options
context:
space:
mode:
Diffstat (limited to '.travis/cmake-osx')
-rwxr-xr-x.travis/cmake-osx10
1 files changed, 5 insertions, 5 deletions
diff --git a/.travis/cmake-osx b/.travis/cmake-osx
index cb12301d..b6ee8430 100755
--- a/.travis/cmake-osx
+++ b/.travis/cmake-osx
@@ -1,11 +1,11 @@
1#!/bin/sh 1#!/bin/bash
2 2
3ACTION="$1" 3ACTION="$1"
4 4
5set -eu 5set -eu
6 6
7CACHEDIR="$HOME/cache" 7CACHEDIR="$HOME/cache"
8NPROC=`sysctl -n hw.physicalcpu` 8NPROC=$(sysctl -n hw.physicalcpu)
9 9
10travis_install() { 10travis_install() {
11 # Workaround for bug in Homebrew where it only finds an old Ruby version. 11 # Workaround for bug in Homebrew where it only finds an old Ruby version.
@@ -35,11 +35,11 @@ travis_script() {
35 -DUSE_IPV6=OFF \ 35 -DUSE_IPV6=OFF \
36 -DAUTOTEST=ON 36 -DAUTOTEST=ON
37 37
38 cd _build # pushd 38 cd _build # pushd
39 make "-j$NPROC" -k install 39 make "-j$NPROC" -k install
40 make "-j$NPROC" test ARGS="-j50" || \ 40 make "-j$NPROC" test ARGS="-j50" ||
41 make "-j$NPROC" test ARGS="-j50 --rerun-failed" CTEST_OUTPUT_ON_FAILURE=1 41 make "-j$NPROC" test ARGS="-j50 --rerun-failed" CTEST_OUTPUT_ON_FAILURE=1
42 cd - # popd 42 cd - # popd
43} 43}
44 44
45if [ "-z" "$ACTION" ]; then 45if [ "-z" "$ACTION" ]; then