File tree Expand file tree Collapse file tree 5 files changed +0
-49
lines changed Expand file tree Collapse file tree 5 files changed +0
-49
lines changed Original file line number Diff line number Diff line change 36
36
python -m pip install .[$(CHECK_TYPE)]
37
37
SET NIBABEL_DATA_DIR=%CD%\\nibabel-data
38
38
displayName: 'Install nibabel'
39
- - script : |
40
- mkdir for_testing
41
- cd for_testing
42
- cp ../.coveragerc .
43
- nosetests --with-doctest --with-coverage --cover-package nibabel nibabel ^
44
- -I test_data ^
45
- -I test_environment ^
46
- -I test_euler ^
47
- -I test_giftiio ^
48
- -I test_netcdf ^
49
- -I test_pkg_info ^
50
- -I test_quaternions ^
51
- -I test_scaling ^
52
- -I test_scripts ^
53
- -I test_spaces ^
54
- -I test_testing
55
- displayName: 'Nose tests'
56
- condition: and(succeeded(), eq(variables['CHECK_TYPE'], 'nosetests'))
57
39
- script : |
58
40
mkdir for_testing
59
41
cd for_testing
Original file line number Diff line number Diff line change @@ -27,10 +27,6 @@ python:
27
27
28
28
jobs :
29
29
include :
30
- # Old nosetests - Remove soon
31
- - python : 3.7
32
- env :
33
- - CHECK_TYPE="nosetests"
34
30
# Basic dependencies only
35
31
- python : 3.5
36
32
env :
@@ -127,23 +123,6 @@ script:
127
123
cd doc
128
124
make html;
129
125
make doctest;
130
- elif [ "${CHECK_TYPE}" == "nosetests" ]; then
131
- # Change into an innocuous directory and find tests from installation
132
- mkdir for_testing
133
- cd for_testing
134
- cp ../.coveragerc .
135
- nosetests --with-doctest --with-coverage --cover-package nibabel nibabel \
136
- -I test_data \
137
- -I test_environment \
138
- -I test_euler \
139
- -I test_giftiio \
140
- -I test_netcdf \
141
- -I test_pkg_info \
142
- -I test_quaternions \
143
- -I test_scaling \
144
- -I test_scripts \
145
- -I test_spaces \
146
- -I test_testing
147
126
elif [ "${CHECK_TYPE}" == "test" ]; then
148
127
# Change into an innocuous directory and find tests from installation
149
128
mkdir for_testing
Original file line number Diff line number Diff line change 34
34
py38-x64 :
35
35
PYTHON_VERSION : ' 3.8'
36
36
PYTHON_ARCH : ' x64'
37
- nosetests :
38
- PYTHON_VERSION : ' 3.6'
39
- PYTHON_ARCH : ' x64'
40
- CHECK_TYPE : ' nosetests'
Original file line number Diff line number Diff line change 1
1
# Requirements for running tests
2
2
-r requirements.txt
3
- nose
4
3
pytest
Original file line number Diff line number Diff line change 55
55
scipy
56
56
style =
57
57
flake8
58
- nosetests =
59
- coverage
60
- nose >=0.11
61
- pytest
62
58
test =
63
59
coverage
64
- nose >=0.11
65
60
pytest !=5.3.4
66
61
pytest-cov
67
62
all =
You can’t perform that action at this time.
0 commit comments