代码拉取完成,页面将自动刷新
env:
global:
# websockets only works on Python >= 3.4.
- CIBW_SKIP="cp27-* cp33-*"
- CIBW_TEST_COMMAND="python3 -W default -m unittest"
- WEBSOCKETS_TESTS_TIMEOUT_FACTOR=100
matrix:
include:
- language: python
dist: xenial # required for Python 3.7 (travis-ci/travis-ci#9069)
sudo: required
python: "3.7"
services:
- docker
- os: osx
osx_image: xcode8.3
install:
# Python 3 is needed to run cibuildwheel for websockets.
- if [ "${TRAVIS_OS_NAME:-}" == "osx" ]; then
brew update;
brew upgrade python;
fi
# Install cibuildwheel using pip3 to make sure Python 3 is used.
- pip3 install --upgrade cibuildwheel
# Create file '.cibuildwheel' so that extension build is not optional (c.f. setup.py).
- touch .cibuildwheel
script:
- cibuildwheel --output-dir wheelhouse
# Upload to PyPI on tags
- if [ "${TRAVIS_TAG:-}" != "" ]; then
pip3 install twine;
python3 -m twine upload --skip-existing wheelhouse/*;
fi
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。