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
ruanhaishen
hiredis
Commits
ffceb87e
Commit
ffceb87e
authored
Feb 21, 2019
by
Mark Nunberg
Browse files
SSL: build in travis
parent
792bdbab
Changes
1
Hide whitespace changes
Inline
Side-by-side
.travis.yml
View file @
ffceb87e
...
@@ -28,13 +28,14 @@ env:
...
@@ -28,13 +28,14 @@ env:
-
BITS="64"
-
BITS="64"
script
:
script
:
-
if [ "$TRAVIS_OS_NAME" == "osx" ]; then
-
EXTRA_CMAKE_OPTS="-DENABLE_EXAMPLES:BOOL=ON -DHIREDIS_SSL:BOOL=ON";
if [ "$TRAVIS_OS_NAME" == "osx" ]; then
if [ "$BITS" == "32" ]; then
if [ "$BITS" == "32" ]; then
CFLAGS="-m32 -Werror";
CFLAGS="-m32 -Werror";
CXXFLAGS="-m32 -Werror";
CXXFLAGS="-m32 -Werror";
LDFLAGS="-m32";
LDFLAGS="-m32";
EXTRA_CMAKE_OPTS=;
else
else
EXTRA_CMAKE_OPTS="-DENABLE_EXAMPLES:BOOL=ON";
CFLAGS="-Werror";
CFLAGS="-Werror";
CXXFLAGS="-Werror";
CXXFLAGS="-Werror";
fi;
fi;
...
@@ -44,8 +45,8 @@ script:
...
@@ -44,8 +45,8 @@ script:
CFLAGS="-m32 -Werror";
CFLAGS="-m32 -Werror";
CXXFLAGS="-m32 -Werror";
CXXFLAGS="-m32 -Werror";
LDFLAGS="-m32";
LDFLAGS="-m32";
EXTRA_CMAKE_OPTS=;
else
else
EXTRA_CMAKE_OPTS="-DENABLE_EXAMPLES:BOOL=ON";
CFLAGS="-Werror";
CFLAGS="-Werror";
CXXFLAGS="-Werror";
CXXFLAGS="-Werror";
fi;
fi;
...
...
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