File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -33,15 +33,15 @@ matrix:
33
33
install :
34
34
- if [[ -z $CIBW_BEFORE_BUILD ]]; then rm -rf tmp-build ; tools/bootstrap-librdkafka.sh --require-ssl ${LIBRDKAFKA_VERSION} tmp-build ; fi
35
35
- if [[ -z $CIBW_BEFORE_BUILD ]]; then pip install --upgrade pip && pip install pytest-timeout flake8 ; fi
36
- - if [[ ! -z $CIBW_BEFORE_BUILD ]]; then pip install cibuildwheel==0.4.1 ; fi
36
+ - if [[ -n $TRAVIS_TAG && -n $CIBW_BEFORE_BUILD ]]; then pip install cibuildwheel==0.4.1 ; fi
37
37
38
38
39
39
script :
40
40
- if [[ -z $CIBW_BEFORE_BUILD ]]; then pip install -v --global-option=build_ext --global-option="-Itmp-build/include/" --global-option="-Ltmp-build/lib" . .[avro] ; fi
41
41
- if [[ -z $CIBW_BEFORE_BUILD ]]; then flake8 ; fi
42
42
- if [[ -z $CIBW_BEFORE_BUILD ]]; then py.test -v --timeout 20 --ignore=tmp-build --import-mode append ; fi
43
- - if [[ ! -z $CIBW_BEFORE_BUILD ]]; then cibuildwheel --output-dir wheelhouse ; ls -la wheelhouse/ ; fi
44
- - if [[ $ TRAVIS_OS_NAME == linux && ! -z $CIBW_BEFORE_BUILD ]]; then DOCKER_IMAGES=centos:latest tools/test-manylinux.sh ; fi
43
+ - if [[ -n $TRAVIS_TAG && -n $CIBW_BEFORE_BUILD ]]; then cibuildwheel --output-dir wheelhouse ; ls -la wheelhouse/ ; fi
44
+ - if [[ -n $TRAVIS_TAG && $ TRAVIS_OS_NAME == linux && -n $CIBW_BEFORE_BUILD ]]; then tools/test-manylinux.sh ; fi
45
45
46
46
47
47
deploy :
@@ -58,5 +58,5 @@ deploy:
58
58
skip_cleanup : true
59
59
on :
60
60
repo : confluentinc/confluent-kafka-python
61
- branch : manylinux_test
62
- condition : " ! -z $CIBW_BEFORE_BUILD"
61
+ tags : true
62
+ condition : " -n $CIBW_BEFORE_BUILD"
You can’t perform that action at this time.
0 commit comments