travis: set -e on osx script
This commit is contained in:
parent
a458ec9998
commit
a2e6ada1c6
@ -1,6 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
set -x
|
set -x
|
||||||
|
set -e
|
||||||
|
|
||||||
mkdir build
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
@ -8,6 +9,11 @@ cmake .. -DCMAKE_PREFIX_PATH=/usr/local/opt/llvm@5/ -DCMAKE_INSTALL_PREFIX=$(pwd
|
|||||||
make VERBOSE=1
|
make VERBOSE=1
|
||||||
make install
|
make install
|
||||||
|
|
||||||
|
# TODO: we run the tests separately because when run all together there is some
|
||||||
|
# mysterious issue where after N child process spawns it crashes. I've been
|
||||||
|
# unable to reproduce the issue on my macbook - it only happens on Travis.
|
||||||
|
# ./zig build --build-file ../build.zig test
|
||||||
|
|
||||||
./zig build --build-file ../build.zig test-behavior --verbose
|
./zig build --build-file ../build.zig test-behavior --verbose
|
||||||
./zig build --build-file ../build.zig test-std --verbose
|
./zig build --build-file ../build.zig test-std --verbose
|
||||||
./zig build --build-file ../build.zig test-compiler-rt --verbose
|
./zig build --build-file ../build.zig test-compiler-rt --verbose
|
||||||
|
Loading…
x
Reference in New Issue
Block a user