1
1
matrix :
2
2
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
4
4
- os : linux
5
5
language : python
6
6
dist : trusty
7
7
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
10
10
- os : linux
11
11
language : python
12
12
dist : trusty
13
13
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
15
33
# cibuildwheel for osx
16
34
- 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"
18
36
# cibuildwheel for manylinux
19
37
- os : linux
20
38
dist : trusty
21
39
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 "
23
41
language : python
24
42
python : " 2.7"
25
43
services : docker
@@ -29,7 +47,7 @@ install:
29
47
- pip install -U pip
30
48
- if [[ -z $CIBW_BEFORE_BUILD ]]; then pip install pytest-timeout flake8 ; fi
31
49
- 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
33
51
34
52
35
53
script :
0 commit comments