6 Star 12 Fork 6

Gitee 极速下载/cronmon

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/bruceye777/cronmon
克隆/下载
.travis.yml 770 Bytes
一键复制 编辑 原始数据 按行查看 历史
bruceye777 提交于 2018-08-10 17:08 . Update .travis.yml
language: python
python:
- "3.4"
- "3.6"
sudo: required
env:
global:
- FLASK_CONFIG="testing"
services:
- mysql
addons:
apt:
packages:
- nginx
hosts:
- cronmon.yoursite.io
before_install:
- mysql -e 'create database `cronmon` /*!40100 DEFAULT CHARACTER SET utf8 */;'
- mysql -e 'grant all on cronmon.* to cronmon_user@127.0.0.1 identified by "cronmon_pwd";'
install:
- pip install -r requirements.txt
- sudo cp tests/cronmon_test.conf /etc/nginx/conf.d/
before_script:
- python migrate.py init
- python migrate.py sample
- sudo service nginx restart
- echo "var:"$FLASK_CONFIG
script:
- python -m pytest --verbose --cov=cronmon --cov-report=term-missing
after_success:
- travis_retry pip install coveralls
- coveralls
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
HTML/CSS
1
https://gitee.com/mirrors/cronmon.git
git@gitee.com:mirrors/cronmon.git
mirrors
cronmon
cronmon
master

搜索帮助