Skip to content

Commit d21bdd4

Browse files
committed
Use codecov instead of coverall
1 parent 12d9bbd commit d21bdd4

File tree

4 files changed

+19
-7
lines changed

4 files changed

+19
-7
lines changed

.travis.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ cache:
2222
- $HOME/.cache/pip
2323
- $TRAVIS_BUILD_DIR/.tox
2424
install:
25-
- pip install tox coveralls
25+
- pip install tox codecov
2626
script:
27-
- tox -e $TOX_ENV -- --cov=graphql_server
27+
- tox -e $TOX_ENV -- --cov-report term-missing --cov=graphql_server
2828
after_success:
29-
- coveralls
29+
- codecov
3030
deploy:
3131
provider: pypi
3232
user: syrusakbary

README.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# GraphQL-Server-Core
22

3-
[![Build Status](https://travis-ci.org/graphql-python/graphql-server-core.svg?branch=master)](https://travis-ci.org/graphql-python/graphql-server-core) [![Coverage Status](https://coveralls.io/repos/graphql-python/graphql-server-core/badge.svg?branch=master&service=github)](https://coveralls.io/github/graphql-python/graphql-server-core?branch=master) [![PyPI version](https://badge.fury.io/py/graphql-server-core.svg)](https://badge.fury.io/py/graphql-server-core)
3+
[![PyPI version](https://badge.fury.io/py/graphql-server-core.svg)](https://badge.fury.io/py/graphql-server-core)
4+
[![Build Status](https://travis-ci.org/graphql-python/graphql-server-core.svg?branch=master)](https://travis-ci.org/graphql-python/graphql-server-core)
5+
[![Coverage Status](https://codecov.io/gh/graphql-python/graphql-server-core/branch/master/graph/badge.svg)](https://codecov.io/gh/graphql-python/graphql-server-core)
46

57
GraphQL-Server-Core is a base library that serves as a helper
68
for building GraphQL servers or integrations into existing web frameworks using

codecov.yml

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
codecov:
2+
notify:
3+
require_ci_to_pass: yes
4+
5+
comment: no
6+
coverage:
7+
status:
8+
project:
9+
default:
10+
target: auto

tox.ini

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ skipsdist = true
66
setenv =
77
PYTHONPATH = {toxinidir}
88
deps =
9-
pytest>=3.0
10-
graphql-core>=2.1
11-
pytest-cov
9+
pytest>=3.0,<4
10+
graphql-core>=2.1,<3
11+
pytest-cov>=2.7
1212
commands =
1313
py{py,27,33,34,35,36,37}: py.test tests {posargs}
1414

0 commit comments

Comments
 (0)