1 Star 0 Fork 371

otie/walle-web

forked from wushuiyong/walle-web 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.travis.yml 1.32 KB
一键复制 编辑 原始数据 按行查看 历史
cclauss 提交于 2019-01-09 00:42 . Update .travis.yml
language: python
cache:
directories:
- $HOME/.cache/pip
matrix:
include:
- python: "2.7"
- python: "3.7"
dist: xenial # required for Python >= 3.7 (travis-ci/travis-ci#9069)
install:
- echo "#install#"
# For some reason Travis' build envs have wildly different pip/setuptools
# versions between minor Python versions, and this can cause many hilarious
# corner packaging cases. So...
- pip install --upgrade pip
# Setuptools 34+ seems to get less stable
# - pip install 'setuptools>33,<34'
# Pre-requirements sanity test (again, resembles pure, non-dev install
# environment.) Avoids e.g. spec's 'six' from gumming up our attempts to
# import our vendorized 'six'.
- pip install -r requirements/dev.txt
- pip list --format=columns
before_script:
- echo "#before_script#"
# stop the build if there are Python syntax errors or undefined names
- flake8 . --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 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- mkdir -p /tmp/walle/{logs,library,webroot,releases}
script:
- echo "#script#"
- export FLASK_APP=waller.py
- python -m flask test
notifications:
on_success: never
on_failure: always
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/cgpwym/walle-web.git
git@gitee.com:cgpwym/walle-web.git
cgpwym
walle-web
walle-web
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385