From 93822fa11ffbe1fd53d2091c94a84b4a9a26fa81 Mon Sep 17 00:00:00 2001 From: debugtalk Date: Mon, 26 Jun 2017 21:47:57 +0800 Subject: [PATCH] coverage: replace codecov with coveralls --- .travis.yml | 4 ++-- README.md | 1 + requirements.txt | 3 ++- 3 files changed, 5 insertions(+), 3 deletions(-) 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