Skip to content

Commit 959bd4c

Browse files
committed
Switch from coveralls to codecov for Travis CI
Replicates graphql/graphql-js@4ed25af One of the issues for us with coveralls was this: z4r/python-coveralls#66
1 parent 3092887 commit 959bd4c

File tree

6 files changed

+118
-93
lines changed

6 files changed

+118
-93
lines changed

.coveragerc

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
[run]
2+
branch = True
3+
source = graphql
4+
5+
[report]
6+
exclude_lines =
7+
pragma: no cover
8+
raise NotImplementedError
9+
ignore_errors = True
10+
omit =
11+
docs/*
12+
tests/*

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ script:
2222
- pytest --cov-report term-missing --cov=graphql
2323

2424
after_success:
25-
- coveralls
25+
- codecov

Pipfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ pytest-asyncio = "*"
1414
tox = "*"
1515
sphinx = "*"
1616
sphinx_rtd_theme = "*"
17-
python-coveralls = "*"
18-
pytest-cov = ">=2.4,<2.6"
17+
codecov = "*"
18+
pytest-cov = "*"
1919
pyyaml = ">=4.0"
2020

2121
[pipenv]

Pipfile.lock

Lines changed: 101 additions & 88 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ a query language for APIs created by Facebook.
77
[![PyPI version](https://badge.fury.io/py/GraphQL-core-next.svg)](https://badge.fury.io/py/GraphQL-core-next)
88
[![Documentation Status](https://readthedocs.org/projects/graphql-core-next/badge/)](https://graphql-core-next.readthedocs.io)
99
[![Build Status](https://travis-ci.com/graphql-python/graphql-core-next.svg?branch=master)](https://travis-ci.com/graphql-python/graphql-core-next)
10-
[![Coverage Status](https://coveralls.io/repos/github/graphql-python/graphql-core-next/badge.svg?branch=master)](https://coveralls.io/github/graphql-python/graphql-core-next?branch=master)
10+
[![Coverage Status](https://codecov.io/gh/graphql-python/graphql-core-next/branch/master/graph/badge.svg)](https://codecov.io/gh/graphql-python/graphql-core-next)
1111
[![Dependency Updates](https://pyup.io/repos/github/graphql-python/graphql-core-next/shield.svg)](https://pyup.io/repos/github/graphql-python/graphql-core-next/)
1212
[![Python 3 Status](https://pyup.io/repos/github/graphql-python/graphql-core-next/python-3-shield.svg)](https://pyup.io/repos/github/graphql-python/graphql-core-next/)
1313
[![Code Style](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/ambv/black)

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"flake8",
4242
"mypy",
4343
"tox",
44-
"python-coveralls",
44+
"codecov",
4545
],
4646
packages=find_packages(include=["graphql"]),
4747
include_package_data=True,

0 commit comments

Comments
 (0)