SSL: build in travis
This commit is contained in:
parent
792bdbab7e
commit
ffceb87ec3
@ -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:
|
|||||||
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;
|
||||||
|
Loading…
Reference in New Issue
Block a user