加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.travis.yml 1.06 KB
一键复制 编辑 原始数据 按行查看 历史
007 提交于 2019-03-06 16:28 . 增加淘宝接口
language: python
# Use container-based infrastructure
sudo: false
matrix:
include:
- env: TOX_ENV=py27-cryptography
python: 2.7
- env: TOX_ENV=py27-pycrypto
python: 2.7
- env: TOX_ENV=py34-cryptography
python: 3.4
- env: TOX_ENV=py34-pycrypto
python: 3.4
- env: TOX_ENV=py35-cryptography
python: 3.5
- env: TOX_ENV=py35-pycrypto
python: 3.5
- env: TOX_ENV=py36-cryptography
python: 3.6
- env: TOX_ENV=py36-pycrypto
python: 3.6
- env: TOX_ENV=pypy-cryptography
python: "pypy"
- env: TOX_ENV=pypy3-cryptography
python: "pypy3"
services:
- redis-server
- memcached
cache:
directories:
- $HOME/.cache/pip
install:
- pip install tox
- pip install "flake8>=3.7"
before_script:
- "flake8 ."
script:
tox -e $TOX_ENV
after_success:
- |
if [[ "${TRAVIS_TAG:-}" != "" && "$TOX_ENV" == "py36-cryptography" ]]; then
python3.6 setup.py sdist bdist_wheel;
python3.6 -m pip install twine;
python3.6 -m twine upload --skip-existing dist/*;
fi
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化