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
517b3bdc
Commit
517b3bdc
authored
Sep 07, 2015
by
deki
Browse files
Add c++11 build to the Travis matrix.
parent
f570b27e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
.travis.yml
.travis.yml
+1
-0
travis.sh
travis.sh
+1
-0
No files found.
.travis.yml
View file @
517b3bdc
...
...
@@ -38,6 +38,7 @@ env:
matrix
:
-
GTEST_TARGET=googletest SHARED_LIB=OFF STATIC_LIB=ON CMAKE_PKG=OFF BUILD_TYPE=debug VERBOSE_MAKE=true VERBOSE
-
GTEST_TARGET=googlemock SHARED_LIB=OFF STATIC_LIB=ON CMAKE_PKG=OFF BUILD_TYPE=debug VERBOSE_MAKE=true VERBOSE
-
GTEST_TARGET=googlemock SHARED_LIB=OFF STATIC_LIB=ON CMAKE_PKG=OFF BUILD_TYPE=debug CXX_FLAGS=-std=c++11 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
:
...
...
travis.sh
View file @
517b3bdc
...
...
@@ -9,6 +9,7 @@ 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
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