diff options
author | Billy Donahue <billydonahue@google.com> | 2015-09-01 06:41:55 (GMT) |
---|---|---|
committer | Billy Donahue <billydonahue@google.com> | 2015-09-01 06:41:55 (GMT) |
commit | 6fc49050217137ffdfeff648cc0322e14757da8f (patch) | |
tree | 9b64ac65d9f9b9e2cf358f7f8ce8a384529e3482 /travis.sh | |
parent | 9986d43dd93e93d6e86c02b58df8a65c3c3cc096 (diff) | |
parent | 8be1b6b087a4c5ad42834a5a391a8e3cae7b4c6f (diff) | |
download | googletest-6fc49050217137ffdfeff648cc0322e14757da8f.zip googletest-6fc49050217137ffdfeff648cc0322e14757da8f.tar.gz googletest-6fc49050217137ffdfeff648cc0322e14757da8f.tar.bz2 |
run testsrefs/pull/577/head
Diffstat (limited to 'travis.sh')
-rwxr-xr-x | travis.sh | 33 |
1 files changed, 9 insertions, 24 deletions
@@ -1,29 +1,14 @@ #!/usr/bin/env sh -# This is called by `.travis.yml` via Travis CI. -# Travis supplies $TRAVIS_OS_NAME. -# http://docs.travis-ci.com/user/multi-os/ -# Our .travis.yml also defines: -# - SHARED_LIB=ON/OFF -# - STATIC_LIB=ON/OFF -# - CMAKE_PKG=ON/OFF -# - BUILD_TYPE=release/debug -# - VERBOSE_MAKE=false/true -# - VERBOSE (set or not) - -# -e: fail on error -# -v: show commands -# -x: show expanded commands set -evx - env | sort mkdir build || true - -( ( mkdir build/googletest || true ) && - cd build/googletest && - cmake -Dgtest_build_tests=ON -Dgtest_build_samples=ON ../../googletest && - make && make test) -( ( mkdir build/googlemock || true ) && - cd build/googlemock && - cmake -Dgmock_build_tests=ON -Dgtest_build_samples=ON ../../googlemock && - make && make test) +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 \ + ../../$GTEST_TARGET +make +make test |