summaryrefslogtreecommitdiffstats
path: root/travis.sh
diff options
context:
space:
mode:
authorHerbert Thielen <thielen@hs-worms.de>2017-08-29 15:41:26 (GMT)
committerHerbert Thielen <thielen@hs-worms.de>2017-08-29 15:41:26 (GMT)
commitd33861dca6fac5482f0c82a413a2571172d16fac (patch)
tree1bff928f51ed3455d9a100d25078e3db51aaab54 /travis.sh
parent4a451575895dc665db33cd940b47f38e804a291d (diff)
downloadgoogletest-d33861dca6fac5482f0c82a413a2571172d16fac.zip
googletest-d33861dca6fac5482f0c82a413a2571172d16fac.tar.gz
googletest-d33861dca6fac5482f0c82a413a2571172d16fac.tar.bz2
run combined build onlyrefs/pull/1232/head
There is no need for separate 'googlemock' and 'googletest' builds, as the 'googlemock' build includes 'googletest' and it's unit tests.
Diffstat (limited to 'travis.sh')
-rwxr-xr-xtravis.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/travis.sh b/travis.sh
index bdecbd9..1b23a3d 100755
--- a/travis.sh
+++ b/travis.sh
@@ -3,13 +3,12 @@ set -evx
env | sort
mkdir build || true
-mkdir build/$GTEST_TARGET || true
-cd build/$GTEST_TARGET
+cd build
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