From fb6f62d1079951d22c1ec6c0f8aae29238036a19 Mon Sep 17 00:00:00 2001 From: Billy Donahue Date: Tue, 1 Sep 2015 02:14:45 -0400 Subject: [PATCH] run tests in Travis CI --- travis.sh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/travis.sh b/travis.sh index d7656999..3e4d3087 100755 --- a/travis.sh +++ b/travis.sh @@ -17,13 +17,13 @@ set -evx env | sort -mkdir build +mkdir build || true -( mkdir build/googletest && +( ( mkdir build/googletest || true ) && cd build/googletest && - cmake ../../googletest && - make) -( mkdir build/googlemock && + cmake -Dgtest_build_tests=ON -Dgtest_build_samples=ON ../../googletest && + make && make test) +( ( mkdir build/googlemock || true ) && cd build/googlemock && - cmake ../../googlemock && - make) + cmake -Dgmock_build_tests=ON -Dgtest_build_samples=ON ../../googlemock && + make && make test)