11matrix :
22 include :
3- # Source package verification with Python 2.7 and librdkafka master
3+ # Source package verification with Python 2.7 and librdkafka v0.11.5
44 - os : linux
55 language : python
66 dist : trusty
77 python : " 2.7"
8- env : LD_LIBRARY_PATH="$PWD/tmp-build/lib" LIBRDKAFKA_VERSION=master
9- # Source package verification with Python 3.6 and librdkafka master
8+ env : LD_LIBRARY_PATH="$PWD/tmp-build/lib" LIBRDKAFKA_VERSION=v0.11.5
9+ # Source package verification with Python 3.6 and librdkafka v0.11.5
1010 - os : linux
1111 language : python
1212 dist : trusty
1313 python : " 3.6"
14- env : LD_LIBRARY_PATH="$PWD/tmp-build/lib" LIBRDKAFKA_VERSION=master
14+ env : LD_LIBRARY_PATH="$PWD/tmp-build/lib" LIBRDKAFKA_VERSION=v0.11.5
15+ # Source package verification with Python 2.7 and librdkafka v0.11.5
16+ - os : osx
17+ python : " 2.7"
18+ env : LD_LIBRARY_PATH="$PWD/tmp-build/lib" LIBRDKAFKA_VERSION=v0.11.5
19+ before_install :
20+ - brew update && brew upgrade pyenv
21+ - pyenv install -f 2.7.15
22+ - virtualenv -p ~/.pyenv/versions/2.7.15/bin/python ./env
23+ - source env/bin/activate
24+ # Source package verification with Python 3.6 and librdkafka v0.11.5
25+ - os : osx
26+ python : " 3.6"
27+ env : LD_LIBRARY_PATH="$PWD/tmp-build/lib" LIBRDKAFKA_VERSION=v0.11.5
28+ before_install :
29+ - brew update && brew upgrade pyenv
30+ - pyenv install -f 3.6.5
31+ - virtualenv -p ~/.pyenv/versions/3.6.5/bin/python ./env
32+ - source env/bin/activate
1533 # cibuildwheel for osx
1634 - os : osx
17- env : CIBW_BEFORE_BUILD="tools/bootstrap-librdkafka.sh --require-ssl master tmp" CFLAGS="-Itmp/include" LDFLAGS="-Ltmp/lib"
35+ env : CIBW_BEFORE_BUILD="tools/bootstrap-librdkafka.sh --require-ssl v0.11.5 tmp" CFLAGS="-Itmp/include" LDFLAGS="-Ltmp/lib"
1836 # cibuildwheel for manylinux
1937 - os : linux
2038 dist : trusty
2139 sudo : required
22- env : CIBW_BEFORE_BUILD="tools/prepare-cibuildwheel-linux.sh master "
40+ env : CIBW_BEFORE_BUILD="tools/prepare-cibuildwheel-linux.sh v0.11.5 "
2341 language : python
2442 python : " 2.7"
2543 services : docker
@@ -29,7 +47,7 @@ install:
2947 - pip install -U pip
3048 - if [[ -z $CIBW_BEFORE_BUILD ]]; then pip install pytest-timeout flake8 ; fi
3149 - if [[ -z $CIBW_BEFORE_BUILD ]]; then rm -rf tmp-build ; tools/bootstrap-librdkafka.sh --require-ssl ${LIBRDKAFKA_VERSION} tmp-build ; fi
32- - if [[ -n $TRAVIS_TAG && -n $CIBW_BEFORE_BUILD ]]; then pip install cibuildwheel==0.4.1 ; fi
50+ - if [[ -n $TRAVIS_TAG && -n $CIBW_BEFORE_BUILD ]]; then pip install cibuildwheel; fi
3351
3452
3553script :
0 commit comments