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
04a27f48
Unverified
Commit
04a27f48
authored
Jul 31, 2020
by
Michael Grunder
Committed by
GitHub
Jul 31, 2020
Browse files
We can run SSL tests everywhere except mingw/Windows (#859)
parent
8966a1fc
Changes
1
Hide whitespace changes
Inline
Side-by-side
.travis.yml
View file @
04a27f48
...
...
@@ -17,11 +17,11 @@ branches:
-
/^release\/.*$/
install
:
-
if [ "$
BITS
"
=
= "
64
" ]; then
-
if [ "$
TRAVIS_COMPILER
"
!
= "
mingw
" ]; then
wget https://github.com/redis/redis/archive/6.0.6.tar.gz;
tar -xzvf 6.0.6.tar.gz;
pushd redis-6.0.6 && BUILD_TLS=yes make && export PATH=$PWD/src:$PATH && popd;
fi
fi
;
before_script
:
-
if [ "$TRAVIS_OS_NAME" == "osx" ]; then
...
...
@@ -33,8 +33,6 @@ before_script:
addons
:
apt
:
sources
:
-
sourceline
:
'
ppa:chris-lea/redis-server'
packages
:
-
libc6-dbg
-
libc6-dev
...
...
@@ -46,17 +44,13 @@ addons:
-
libssl-dev
-
libssl-dev:i386
-
valgrind
-
redis
env
:
-
BITS="32"
-
BITS="64"
script
:
-
EXTRA_CMAKE_OPTS="-DENABLE_EXAMPLES:BOOL=ON -DENABLE_SSL:BOOL=ON";
if [ "$BITS" == "64" ]; then
EXTRA_CMAKE_OPTS="$EXTRA_CMAKE_OPTS -DENABLE_SSL_TESTS:BOOL=ON";
fi;
-
EXTRA_CMAKE_OPTS="-DENABLE_EXAMPLES:BOOL=ON -DENABLE_SSL:BOOL=ON -DENABLE_SSL_TESTS:BOOL=ON";
if [ "$TRAVIS_OS_NAME" == "osx" ]; then
if [ "$BITS" == "32" ]; then
CFLAGS="-m32 -Werror";
...
...
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