File tree 4 files changed +16
-2
lines changed
4 files changed +16
-2
lines changed Original file line number Diff line number Diff line change
1
+ coverage :
2
+ range : " 0...100"
3
+ ignore :
4
+ - " **/data"
5
+ - " setup.py"
Original file line number Diff line number Diff line change
1
+ [run]
2
+ branch = True
Original file line number Diff line number Diff line change 9
9
- pip install -U -e .[test]
10
10
11
11
script :
12
- - pytest -v --doctest-modules nitransforms
12
+ - pytest -v --cov nitransforms --cov-config `pwd`/.coveragerc --cov-report xml:`pwd`/cov.xml --doctest-modules nitransforms
13
+
14
+ after_success :
15
+ - codecov --file `pwd`/cov.xml --flags unittests -e TRAVIS_JOB_NUMBER
Original file line number Diff line number Diff line change @@ -3,22 +3,26 @@ provides =
3
3
nitransforms
4
4
5
5
[options]
6
- python_requires = >= 2.7
6
+ python_requires = >= 3.5
7
7
install_requires =
8
8
numpy
9
9
scipy
10
10
nibabel
11
11
h5py
12
12
test_requires =
13
13
pytest
14
+ pytest-cov
14
15
nose
16
+ codecov
15
17
packages = find:
16
18
include_package_data = True
17
19
18
20
[options.extras_require]
19
21
test =
20
22
pytest
23
+ pytest-cov
21
24
nose
25
+ codecov
22
26
tests =
23
27
%(test)s
24
28
all =
You can’t perform that action at this time.
0 commit comments