Skip to content

Commit dcc0a91

Browse files
committed
More travis fixes
1 parent f56f0ad commit dcc0a91

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ matrix:
2020
env: LD_LIBRARY_PATH="$PWD/tmp-build/lib" LIBRDKAFKA_VERSION=v0.9.2
2121
# cibuildwheel for osx
2222
- os: osx
23-
env: CIBW_BEFORE_BUILD="tools/bootstrap-librdkafka.sh master tmp" CFLAGS="-Itmp/include" LDFLAGS="-Ltmp/lib"
23+
env: CIBW_BEFORE_BUILD="tools/bootstrap-librdkafka.sh --require-ssl master tmp" CFLAGS="-Itmp/include" LDFLAGS="-Ltmp/lib"
2424
# cibuildwheel for manylinux
2525
- os: linux
2626
dist: trusty
@@ -31,7 +31,7 @@ matrix:
3131
services: docker
3232

3333
install:
34-
- if [[ -z $CIBW_BEFORE_BUILD ]]; then rm -rf tmp-build ; bash tools/bootstrap-librdkafka.sh ${LIBRDKAFKA_VERSION} tmp-build ; fi
34+
- if [[ -z $CIBW_BEFORE_BUILD ]]; then rm -rf tmp-build ; tools/bootstrap-librdkafka.sh --require-ssl ${LIBRDKAFKA_VERSION} tmp-build ; fi
3535
- if [[ -z $CIBW_BEFORE_BUILD ]]; then pip install --upgrade pip && pip install pytest-timeout flake8 ; fi
3636
- if [[ ! -z $CIBW_BEFORE_BUILD ]]; then pip install cibuildwheel==0.4.1 ; fi
3737

tools/bootstrap-librdkafka.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ make clean
3939
./configure --prefix="$PREFIXDIR"
4040

4141
if [[ $REQUIRE_SSL == 1 ]]; then
42-
grep '^#define WITH_SSL 2$' config.h || \
43-
(echo "ERROR: OpenSSL support required" ; cat config.log ; exit 1)
42+
grep '^#define WITH_SSL 1$' config.h || \
43+
(echo "ERROR: OpenSSL support required" ; cat config.log config.h ; exit 1)
4444
fi
4545

4646
make -j

tools/build-manylinux.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ yum install -y zlib-devel gcc-c++
5050
$(dirname $0)/build-openssl.sh /usr
5151

5252
echo "# Building librdkafka ${LIBRDKAFKA_VERSION}"
53-
$(dirname $0)/bootstrap-librdkafka.sh ${LIBRDKAFKA_VERSION} /usr
53+
$(dirname $0)/bootstrap-librdkafka.sh --require-ssl ${LIBRDKAFKA_VERSION} /usr
5454

5555
# Compile wheels
5656
echo "# Compile"

tools/build-openssl.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@ fi
3232

3333
./config --prefix=${PREFIX} zlib no-krb5 zlib shared
3434
echo "## building openssl"
35-
if ! time make -j 2>&1 | tail -20 ; then
35+
if ! make -j 2>&1 | tail -20 ; then
3636
echo "## Make failed, cleaning up and retrying"
3737
time make clean 2>&1 | tail -20
3838
rm -f test/PASSED
3939
echo "## building openssl (retry)"
40-
time make -j 2>&1 | tail -20 ; then
40+
time make -j 2>&1 | tail -20
4141
fi
4242

4343
if [[ ! -f test/PASSED ]]; then

tools/prepare-cibuildwheel-linux.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ yum install -y zlib-devel gcc-c++
1919
$(dirname $0)/build-openssl.sh /usr
2020

2121
echo "# Building librdkafka ${LIBRDKAFKA_VERSION}"
22-
$(dirname $0)/bootstrap-librdkafka.sh ${LIBRDKAFKA_VERSION} /usr
22+
$(dirname $0)/bootstrap-librdkafka.sh --require-ssl ${LIBRDKAFKA_VERSION} /usr
2323

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy