fix(travis): Fail tests if build fails

This commit is contained in:
patrick96 2018-04-28 23:46:27 +02:00 committed by NBonaparte
parent 4b83468eb9
commit 973f925ad7

View File

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
r=0 r=0
make all_unit_tests make all_unit_tests || exit $?
for test in tests/unit_test.*; do for test in tests/unit_test.*; do
[ -x "$test" ] || continue [ -x "$test" ] || continue