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
95ec42d9
Commit
95ec42d9
authored
Apr 27, 2018
by
Scott Graham
Browse files
Add no-exception and no-rtti to build matrix
parent
dc043e1c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
0 deletions
+11
-0
.travis.yml
.travis.yml
+3
-0
ci/travis.sh
ci/travis.sh
+8
-0
No files found.
.travis.yml
View file @
95ec42d9
...
@@ -37,6 +37,9 @@ matrix:
...
@@ -37,6 +37,9 @@ matrix:
group
:
deprecated-2017Q4
group
:
deprecated-2017Q4
compiler
:
clang
compiler
:
clang
env
:
BUILD_TYPE=Release VERBOSE=1 CXX_FLAGS=-std=c++11
env
:
BUILD_TYPE=Release VERBOSE=1 CXX_FLAGS=-std=c++11
-
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
-
os
:
osx
-
os
:
osx
compiler
:
gcc
compiler
:
gcc
env
:
BUILD_TYPE=Debug VERBOSE=1
env
:
BUILD_TYPE=Debug VERBOSE=1
...
...
ci/travis.sh
View file @
95ec42d9
...
@@ -24,11 +24,19 @@ export MAKEFLAGS
...
@@ -24,11 +24,19 @@ export MAKEFLAGS
env
|
sort
env
|
sort
# Set default values to OFF for these variables if not specified.
:
"
${
NO_EXCEPTION
:
=OFF
}
"
:
"
${
NO_RTTI
:
=OFF
}
"
:
"
${
COMPILER_IS_GNUCXX
:
=OFF
}
"
mkdir
build
||
true
mkdir
build
||
true
cd
build
cd
build
cmake
-Dgtest_build_samples
=
ON
\
cmake
-Dgtest_build_samples
=
ON
\
-Dgtest_build_tests
=
ON
\
-Dgtest_build_tests
=
ON
\
-Dgmock_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_CXX_FLAGS
=
$CXX_FLAGS
\
-DCMAKE_BUILD_TYPE
=
$BUILD_TYPE
\
-DCMAKE_BUILD_TYPE
=
$BUILD_TYPE
\
..
..
...
...
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