Skip to content

Commit b1234cd

Browse files
committed
fix: codecov
1 parent 461b964 commit b1234cd

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

.codecov.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
coverage:
22
range: "0...100"
33
ignore:
4-
- "nitransforms/tests/data"
4+
- "**/data"
55
- "setup.py"

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ install:
99
- pip install -U -e .[test]
1010

1111
script:
12-
- pytest -v --cov nitransforms -cov-config .coveragerc --cov-report xml:cov.xml --doctest-modules nitransforms
12+
- pytest -v --cov nitransforms --cov-config `pwd`/.coveragerc --cov-report xml:`pwd`/cov.xml --doctest-modules nitransforms
1313

14-
after-success:
15-
- codecov --file cov.xml --flags unittests -e TRAVIS_JOB_NUMBER
14+
after_success:
15+
- codecov --file `pwd`/cov.xml --flags unittests -e TRAVIS_JOB_NUMBER

setup.cfg

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ install_requires =
1111
h5py
1212
test_requires =
1313
pytest
14+
pytest-cov
1415
nose
1516
codecov
1617
packages = find:
@@ -19,6 +20,7 @@ include_package_data = True
1920
[options.extras_require]
2021
test =
2122
pytest
23+
pytest-cov
2224
nose
2325
codecov
2426
tests =

0 commit comments

Comments
 (0)