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
fefba42a
Commit
fefba42a
authored
Aug 31, 2015
by
Billy Donahue
Browse files
break out test and mock in travis
parent
a48c4e5e
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
9 deletions
+9
-9
.travis.yml
.travis.yml
+4
-2
travis.sh
travis.sh
+5
-7
No files found.
.travis.yml
View file @
fefba42a
...
@@ -36,8 +36,10 @@ compiler:
...
@@ -36,8 +36,10 @@ compiler:
script
:
./travis.sh
script
:
./travis.sh
env
:
env
:
matrix
:
matrix
:
-
SHARED_LIB=ON STATIC_LIB=ON CMAKE_PKG=ON BUILD_TYPE=release VERBOSE_MAKE=false
-
GTEST_TARGET=googletest SHARED_LIB=ON STATIC_LIB=ON CMAKE_PKG=ON BUILD_TYPE=release VERBOSE_MAKE=false
-
SHARED_LIB=OFF STATIC_LIB=ON CMAKE_PKG=OFF BUILD_TYPE=debug VERBOSE_MAKE=true VERBOSE
-
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
notifications
:
notifications
:
email
:
false
email
:
false
sudo
:
false
sudo
:
false
travis.sh
View file @
fefba42a
#!/usr/bin/env sh
#!/usr/bin/env sh
set
-evx
set
-evx
env
|
sort
env
|
sort
t
=
$GTEST_TARGET
mkdir
build
mkdir
build
for
d
in
googletest googlemock
mkdir
build/
$t
do
cd
build/
$t
(
mkdir
build/
$d
&&
cmake ../../
$t
cd
build/
$d
&&
make
cmake ../../
$d
&&
make
)
done
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