summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '3rdParty/GoogleTest/src/travis.sh')
-rwxr-xr-x3rdParty/GoogleTest/src/travis.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/3rdParty/GoogleTest/src/travis.sh b/3rdParty/GoogleTest/src/travis.sh
new file mode 100755
index 0000000..bdecbd9
--- /dev/null
+++ b/3rdParty/GoogleTest/src/travis.sh
@@ -0,0 +1,15 @@
+#!/usr/bin/env sh
+set -evx
+env | sort
+
+mkdir build || true
+mkdir build/$GTEST_TARGET || true
+cd build/$GTEST_TARGET
+cmake -Dgtest_build_samples=ON \
+ -Dgmock_build_samples=ON \
+ -Dgtest_build_tests=ON \
+ -Dgmock_build_tests=ON \
+ -DCMAKE_CXX_FLAGS=$CXX_FLAGS \
+ ../../$GTEST_TARGET
+make
+CTEST_OUTPUT_ON_FAILURE=1 make test