use old --halt 2 with parallel (fixes #3431)

This commit is contained in:
Niklas Fiekas 2017-08-12 08:53:49 +02:00
parent 18b81f8588
commit a39aa0e4b4

View file

@ -38,7 +38,7 @@ build() {
if type -p parallel; then # parallel execution! if type -p parallel; then # parallel execution!
if [ -z "$P_OPTS" -a ! -e ~/.parallel/config ]; then if [ -z "$P_OPTS" -a ! -e ~/.parallel/config ]; then
P_OPTS="-j+4 --halt now,fail=1" P_OPTS="-j+4 --halt 2"
[ "$TRAVIS" = "true" ] || P_OPTS+=" --bar" [ "$TRAVIS" = "true" ] || P_OPTS+=" --bar"
fi fi
set -x set -x