Skip to content

Commit cb98fa6

Browse files
committed
use codecov python module
1 parent f8e7142 commit cb98fa6

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

.travis.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,7 @@ script:
99
- pre-commit run --all-files
1010
- pytest --cov --cov-config=.coveragerc
1111
after_script:
12-
- echo "uploading to codecov"
13-
- curl -S -f https://codecov.io/bash -o codecov
14-
- chmod +x codecov
15-
- ./codecov -Z
12+
- python -m codecov
1613
deploy:
1714
provider: pypi
1815
user: __token__

setup.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,14 @@ def read(fname):
4040
include_package_data=True,
4141
zip_safe=False,
4242
extras_require={
43-
"test": ["pytest==4.6.11", "pytest-cov", "pre-commit", "black", "pep8"]
43+
"test": [
44+
"pytest==4.6.11",
45+
"pytest-cov",
46+
"pre-commit",
47+
"black",
48+
"pep8",
49+
"codecov",
50+
]
4451
},
4552
entry_points="""
4653
[console_scripts]

0 commit comments

Comments
 (0)