1 Star 0 Fork 0

张博/AiLearning

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.travis.yml 907 Bytes
一键复制 编辑 原始数据 按行查看 历史
group: travis_latest
language: python
cache: pip
python:
- 2.7
- 3.7
matrix:
allow_failures:
- python: 2.7
include:
- python: 2.7
env: TEST_DIR=./MachineLearning/src/py2.x,
- python: 3.7
env: TEST_DIR=./MachineLearning/src/py3.x/
dist: xenial # required for Python 3.7
sudo: required # required for Python 3.7
install:
- pip install flake8
before_script:
# stop the build if there are Python syntax errors or undefined names
- flake8 ${TEST_DIR} --count --select=E901,E999,F821,F822,F823 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
- flake8 ${TEST_DIR} --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
script:
- true # add other tests here
notifications:
on_success: change
on_failure: change # `always` will be the setting once code changes slow down
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/zhangbo123321/AiLearning.git
git@gitee.com:zhangbo123321/AiLearning.git
zhangbo123321
AiLearning
AiLearning
master

搜索帮助