1 Star 0 Fork 59

Felix79/picbed

forked from staugur/sapic 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.travis.yml 1.09 KB
一键复制 编辑 原始数据 按行查看 历史
staugur 提交于 2020-06-21 22:47 . fix linktoken report api
language: python
sudo: enabled
python:
- '2.7'
- '3.5'
- '3.6'
- '3.7'
- '3.8'
- nightly
- pypy3
env:
global:
- CODECOV_TOKEN="9aa6e947-57e8-4546-9f0f-d62f462d4ef7"
- picbed_redis_url="redis://@localhost"
jobs:
- FLASK_VERSION=1.0
- FLASK_VERSION=1.1.0
jobs:
fast_finish: true
allow_failures:
- python: nightly
- python: 3.7
env: FLASK_VERSION=1.0
services:
- redis
- docker
install:
- pip install -r requirements/all.txt
- pip install Flask==$FLASK_VERSION
- pip install codecov
script:
- cd src && coverage run -m unittest discover -p "test_*.py" && cd ..
after_success:
- codecov
before_deploy:
- pip install travis-wait-improved
deploy:
- provider: script
script: travis-wait-improved --timeout 30m bash misc/docker_push.sh
on:
python: 3.7
condition:
- $FLASK_VERSION = 1.0
- $TRAVIS_BRANCH =~ ^(master|dev)$
all_branches: true
tags: false
- provider: script
script: travis-wait-improved --timeout 30m bash misc/docker_push.sh
on:
python: 3.7
condition: "$FLASK_VERSION = 1.0"
branch: master
tags: true
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/gglose/picbed.git
git@gitee.com:gglose/picbed.git
gglose
picbed
picbed
master

搜索帮助

D67c1975 1850385 1daf7b77 1850385