Skip to content

Commit f1fc095

Browse files
committed
- Added travis build script for unit tests.
1 parent f3f0aca commit f1fc095

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.travis-build.sh

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
echo "Executing unit tests..."
2+
./build/tests/tests
3+
result=$?
4+
echo "Unit tests completed : $result"
5+
exit $result

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ before_script:
1414
- cmake -DWITH-TESTS=On ..
1515
- make
1616
- cd ..
17-
script: "sh ./build/tests/tests"
17+
script: "sh ./.travis-build.sh"

0 commit comments

Comments
 (0)