packages:
- libgnutls-dev
-env:
- global:
- - CIBW_ENVIRONMENT="PYCURL_SSL_LIBRARY=nss"
- - CIBW_BEFORE_BUILD="yum install -y libcurl-devel openssl-devel"
- - CIBW_TEST_REQUIRES="tox"
-
-# For a list of available versions,run
+# For a list of available versions, run
# aws s3 ls s3://travis-python-archives/binaries/ubuntu/16.04/x86_64/
jobs:
fast_finish: true
- python: nightly
install:
- - |
- if [[ -n ${BUILD_WHEEL} ]]; then
- # To test it's own built wheel
- export CIBW_TEST_COMMAND="cd {project} && tox -e $TOX_ENV"
- pip install -U cibuildwheel
- cibuildwheel --output-dir dist
- fi
- travis_retry pip install tox
- python -VV
- curl-config --version; pip freeze
# Skipping the tests for which we have already tested using it's own built wheel
if [[ -z ${BUILD_WHEEL} ]]; then
tox -e $TOX_ENV -- $TOX_ARGS
+ else
+ export CIBW_MANYLINUX_X86_64_IMAGE=manylinux1
+ pip install -U cibuildwheel
+ cibuildwheel --output-dir dist
+ tox --installpkg dist/*.whl -e $TOX_ENV -- $TOX_ARGS
fi