From f750dc34ccc03f3dbfbfeb8d1877a2709be8a1dd Mon Sep 17 00:00:00 2001 From: ubuntu Date: Wed, 13 Mar 2013 23:27:50 +0000 Subject: [PATCH] Adds compile_and_run_test.sh script. --- .travis.yml | 2 +- compile_and_run_test.sh | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100755 compile_and_run_test.sh diff --git a/.travis.yml b/.travis.yml index 4f4b2744..ad609e4d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,6 +4,6 @@ compiler: before_script: chmod +x ./snap/install.py; ./snap/install.py -script: chmod +x ./build_and_run_test.sh; ./build_and_run_test.sh +script: chmod +x ./compile_and_run_test.sh; ./compile_and_run_test.sh after_script: cat ./build/Testing/Temporary/LastTest.log diff --git a/compile_and_run_test.sh b/compile_and_run_test.sh new file mode 100755 index 00000000..c051b4e0 --- /dev/null +++ b/compile_and_run_test.sh @@ -0,0 +1,10 @@ +#!/usr/bin/env bash +mkdir build +cd build +cmake .. +cmake .. +cmake .. +make +make +make test +exit \ No newline at end of file