diff --git a/.travis.yml b/.travis.yml index 01406b8e..d8cd44e6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,6 +9,6 @@ python: install: - pip install -r requirements.txt script: - - python -m unittest discover + - coverage run -m unittest discover after_success: - - codecov \ No newline at end of file + - coveralls \ No newline at end of file diff --git a/README.md b/README.md index 01afbcbd..ff614956 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ # ApiTestEngine [![Build Status](https://travis-ci.org/debugtalk/ApiTestEngine.svg?branch=master)](https://travis-ci.org/debugtalk/ApiTestEngine) +[![Coverage Status](https://coveralls.io/repos/github/debugtalk/ApiTestEngine/badge.svg?branch=master)](https://coveralls.io/github/debugtalk/ApiTestEngine?branch=master) ## 核心特性 diff --git a/requirements.txt b/requirements.txt index 6c871119..e1615c3d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,4 +2,5 @@ requests termcolor flask PyYAML -codecov \ No newline at end of file +coveralls +coverage \ No newline at end of file