1 Star 0 Fork 3

当时明月/django-blog-zinnia

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.travis.yml 823 Bytes
一键复制 编辑 原始数据 按行查看 历史
sudo: false
language: python
python:
- 2.7
- 3.4
- 3.5
env:
- DATABASE_ENGINE=sqlite
- DATABASE_ENGINE=postgres
- DATABASE_ENGINE=mysql
matrix:
fast_finish: true
install:
- pip install -U setuptools
- python bootstrap.py
- ./bin/buildout -c travis.cfg testenv:DJANGO_SETTINGS_MODULE=zinnia.tests.implementations.$DATABASE_ENGINE
- sh -c "if [ '$DATABASE_ENGINE' = 'postgres' ];
then
pip install psycopg2;
fi"
- sh -c "if [ '$DATABASE_ENGINE' = 'mysql' ];
then
pip install mysqlclient;
mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql -u root mysql;
fi"
before_script:
- ./bin/flake8 zinnia
script:
- ./bin/test
after_success:
- ./bin/coveralls
notifications:
irc:
- "irc.freenode.org#django-blog-zinnia"
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/ppcba/django-blog-zinnia.git
[email protected]:ppcba/django-blog-zinnia.git
ppcba
django-blog-zinnia
django-blog-zinnia
master

搜索帮助