authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2017-10-01 11:59:21-04:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2017-10-01 11:59:21-04:00
loga2e6ada1c681123c8674f61b91862b5377f1dda1
treefece8519b0e0a486b37a51327bf5c7464d619b52
parenta458ec9998159dcfcbb013c6202bdd123969dfaf

travis: set -e on osx script


1 files changed, 6 insertions(+), 0 deletions(-)

ci/travis_osx_script+6
...@@ -1,6 +1,7 @@...@@ -1,6 +1,7 @@
1#!/bin/sh1#!/bin/sh
22
3set -x3set -x
4set -e
45
5mkdir build6mkdir build
6cd build7cd build
...@@ -8,6 +9,11 @@ cmake .. -DCMAKE_PREFIX_PATH=/usr/local/opt/llvm@5/ -DCMAKE_INSTALL_PREFIX=$(pwd...@@ -8,6 +9,11 @@ cmake .. -DCMAKE_PREFIX_PATH=/usr/local/opt/llvm@5/ -DCMAKE_INSTALL_PREFIX=$(pwd
8make VERBOSE=19make VERBOSE=1
9make install10make install
1011
12# TODO: we run the tests separately because when run all together there is some
13# mysterious issue where after N child process spawns it crashes. I've been
14# unable to reproduce the issue on my macbook - it only happens on Travis.
15# ./zig build --build-file ../build.zig test
16
11./zig build --build-file ../build.zig test-behavior --verbose17./zig build --build-file ../build.zig test-behavior --verbose
12./zig build --build-file ../build.zig test-std --verbose18./zig build --build-file ../build.zig test-std --verbose
13./zig build --build-file ../build.zig test-compiler-rt --verbose19./zig build --build-file ../build.zig test-compiler-rt --verbose