diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/travis-ci.sh | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/scripts/travis-ci.sh b/scripts/travis-ci.sh index a5ea97f..8aa5d1e 100755 --- a/scripts/travis-ci.sh +++ b/scripts/travis-ci.sh @@ -1,8 +1,23 @@ #!/bin/bash -qmake -make +qmake && make +if [[ $? != 0 ]]; then + echo "Error building OpenSCAD executable" + exit 1 +fi cd tests -cmake . +cmake . +if [[ $? != 0 ]]; then + echo "Error configuring test suite" + exit 1 +fi make +if [[ $? != 0 ]]; then + echo "Error building test suite" + exit 1 +fi ctest +if [[ $? != 0 ]]; then + echo "Test failure" + exit 1 +fi |