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
c2032090
Commit
c2032090
authored
Apr 16, 2020
by
Mark Barolak
Browse files
Merge pull request #2772 from Quuxplusone:travis
PiperOrigin-RevId: 305747317
parents
b51a49e0
5504ded3
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
8 deletions
+5
-8
.travis.yml
.travis.yml
+0
-3
ci/travis.sh
ci/travis.sh
+5
-5
No files found.
.travis.yml
View file @
c2032090
...
...
@@ -26,9 +26,6 @@ matrix:
-
os
:
linux
compiler
:
gcc
env
:
BUILD_TYPE=Debug VERBOSE=1 CXX_FLAGS=-std=c++11
-
os
:
linux
compiler
:
clang
env
:
BUILD_TYPE=Release VERBOSE=1 CXX_FLAGS=-std=c++11 -Wgnu-zero-variadic-macro-arguments
-
os
:
linux
compiler
:
clang
env
:
BUILD_TYPE=Release VERBOSE=1 CXX_FLAGS=-std=c++11 NO_EXCEPTION=ON NO_RTTI=ON COMPILER_IS_GNUCXX=ON
...
...
ci/travis.sh
View file @
c2032090
...
...
@@ -34,11 +34,11 @@ cd build
cmake
-Dgtest_build_samples
=
ON
\
-Dgtest_build_tests
=
ON
\
-Dgmock_build_tests
=
ON
\
-Dcxx_no_exception
=
$NO_EXCEPTION
\
-Dcxx_no_rtti
=
$NO_RTTI
\
-DCMAKE_COMPILER_IS_GNUCXX
=
$COMPILER_IS_GNUCXX
\
-DCMAKE_CXX_FLAGS
=
$CXX_FLAGS
\
-DCMAKE_BUILD_TYPE
=
$BUILD_TYPE
\
-Dcxx_no_exception
=
"
$NO_EXCEPTION
"
\
-Dcxx_no_rtti
=
"
$NO_RTTI
"
\
-DCMAKE_COMPILER_IS_GNUCXX
=
"
$COMPILER_IS_GNUCXX
"
\
-DCMAKE_CXX_FLAGS
=
"
$CXX_FLAGS
"
\
-DCMAKE_BUILD_TYPE
=
"
$BUILD_TYPE
"
\
..
make
CTEST_OUTPUT_ON_FAILURE
=
1 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