From 3d601fe32066619f50297cb52131d1bbf5e6862e Mon Sep 17 00:00:00 2001 From: iphydf Date: Wed, 6 May 2020 00:15:09 +0100 Subject: style: Run restyled on Travis and Circle CI scripts. --- .travis/cmake-osx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to '.travis/cmake-osx') 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 @@ -#!/bin/sh +#!/bin/bash ACTION="$1" set -eu CACHEDIR="$HOME/cache" -NPROC=`sysctl -n hw.physicalcpu` +NPROC=$(sysctl -n hw.physicalcpu) travis_install() { # Workaround for bug in Homebrew where it only finds an old Ruby version. @@ -35,11 +35,11 @@ travis_script() { -DUSE_IPV6=OFF \ -DAUTOTEST=ON - cd _build # pushd + cd _build # pushd make "-j$NPROC" -k install - make "-j$NPROC" test ARGS="-j50" || \ + make "-j$NPROC" test ARGS="-j50" || make "-j$NPROC" test ARGS="-j50 --rerun-failed" CTEST_OUTPUT_ON_FAILURE=1 - cd - # popd + cd - # popd } if [ "-z" "$ACTION" ]; then -- cgit v1.2.3