diff options
Diffstat (limited to 'scripts/travis-ci.sh')
-rwxr-xr-x | scripts/travis-ci.sh | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/scripts/travis-ci.sh b/scripts/travis-ci.sh new file mode 100755 index 0000000..9f44b0c --- /dev/null +++ b/scripts/travis-ci.sh @@ -0,0 +1,18 @@ +#!/bin/bash + +cd tests +cmake . +if [[ $? != 0 ]]; then + echo "Error configuring test suite" + exit 1 +fi +make -j2 +if [[ $? != 0 ]]; then + echo "Error building test suite" + exit 1 +fi +ctest -j8 +if [[ $? != 0 ]]; then + echo "Test failure" + exit 1 +fi |