1 Star 0 Fork 351

陈辉/DjangoBlog

forked from 且听风吟/DjangoBlog 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.travis.yml 690 Bytes
一键复制 编辑 原始数据 按行查看 历史
且听风吟 提交于 2018-10-08 15:08 . add codecov support
language: python
python:
- "3.5"
- "3.6"
services:
- mysql
env:
global:
- DJANGO_SETTINGS_MODULE="travis_test.travis_settings"
branches:
only:
- master
# command to install dependencies
install:
- pip install -r travis_test/requirements.txt
- pip install python-coveralls
- pip install coverage codecov
before_script:
- mysql -e 'CREATE DATABASE `djangoblog` /*!40100 DEFAULT CHARACTER SET utf8 */;'
- python manage.py makemigrations
- python manage.py migrate
- python manage.py collectstatic --noinput
- python manage.py compress --force
# command to run tests
script:
- coverage run manage.py test
after_success:
- coveralls
- codecov
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/chokgit/DjangoBlog.git
git@gitee.com:chokgit/DjangoBlog.git
chokgit
DjangoBlog
DjangoBlog
master

搜索帮助