Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
yangql
googletest
Commits
d6b112cc
Commit
d6b112cc
authored
Sep 01, 2015
by
Billy Donahue
Browse files
Merge pull request #577 from BillyDonahue/upstream_master
run tests in Travis CI
parents
8be1b6b0
6fc49050
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
7 deletions
+12
-7
.travis.yml
.travis.yml
+2
-2
travis.sh
travis.sh
+10
-5
No files found.
.travis.yml
View file @
d6b112cc
...
...
@@ -36,10 +36,10 @@ compiler:
script
:
./travis.sh
env
:
matrix
:
-
GTEST_TARGET=googletest SHARED_LIB=ON STATIC_LIB=ON CMAKE_PKG=ON BUILD_TYPE=release VERBOSE_MAKE=false
-
GTEST_TARGET=googletest SHARED_LIB=OFF STATIC_LIB=ON CMAKE_PKG=OFF BUILD_TYPE=debug VERBOSE_MAKE=true VERBOSE
-
GTEST_TARGET=googlemock SHARED_LIB=ON STATIC_LIB=ON CMAKE_PKG=ON BUILD_TYPE=release VERBOSE_MAKE=false
-
GTEST_TARGET=googlemock SHARED_LIB=OFF STATIC_LIB=ON CMAKE_PKG=OFF BUILD_TYPE=debug VERBOSE_MAKE=true VERBOSE
-
GTEST_TARGET=googletest SHARED_LIB=ON STATIC_LIB=ON CMAKE_PKG=ON BUILD_TYPE=release VERBOSE_MAKE=false
-
GTEST_TARGET=googlemock SHARED_LIB=ON STATIC_LIB=ON CMAKE_PKG=ON BUILD_TYPE=release VERBOSE_MAKE=false
notifications
:
email
:
false
sudo
:
false
travis.sh
View file @
d6b112cc
#!/usr/bin/env sh
set
-evx
env
|
sort
t
=
$GTEST_TARGET
mkdir
build
mkdir
build/
$t
cd
build/
$t
cmake ../../
$t
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
\
../../
$GTEST_TARGET
make
make
test
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment