Skip to content

Commit

Permalink
Badge
Browse files Browse the repository at this point in the history
  • Loading branch information
mailgyc committed Dec 15, 2018
1 parent ad942fb commit a9a2cec
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 9 deletions.
14 changes: 9 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
language: python
python:
- '3.6'
- '3.7'

install:
- pip install codecov
- pip install -U pip

before_script:
- pip install -r requirements.txt
- git clone https://github.com/mailgyc/doudizhu.git
- cd doudizhu

script:
- pytest
- coverage run

#after_success:
# - tox -e coverage-report
# - codecov
after_success:
- coverage report
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
# 斗地主
斗地主游戏, html5, python, mysql 实现

[![Build Status](https://travis-ci.org/mailgyc/doudizhu.svg?branch=master)](https://travis-ci.org/mailgyc)
# 斗地主 [![Build Status](https://travis-ci.org/mailgyc/doudizhu.svg?branch=master)](https://travis-ci.org/mailgyc)
[![Coverage Status](https://coveralls.io/repos/github/mailgyc/doudizhu/badge.svg?branch=master)](https://coveralls.io/github/mailgyc/doudizhu?branch=master)
[![MIT Licence](https://badges.frapsoft.com/os/mit/mit.svg?v=103)](https://opensource.org/licenses/mit-license.php)

运行步骤:

Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
bcrypt==3.1.4
coverage==4.5.2
Pillow==5.3.0
Tornado==5.1.1
pymysql==0.9.2
Expand Down

0 comments on commit a9a2cec

Please sign in to comment.