1 Star 1 Fork 0

zerolemon/websockets

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.travis.yml 1015 Bytes
一键复制 编辑 原始数据 按行查看 历史
Aymeric Augustin 提交于 2018-08-23 18:42 +08:00 . Improve project layout.
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
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/zerolemon/websockets.git
[email protected]:zerolemon/websockets.git
zerolemon
websockets
websockets
master

搜索帮助