Skip to content
This repository was archived by the owner on Feb 14, 2023. It is now read-only.

Commit 35b76b9

Browse files
authored
Merge pull request #7 from jnothman/patch-1
0.20rc1; fix not accessing correct installed sklearn path in AppVeyor
2 parents f249011 + cf9ad38 commit 35b76b9

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

appveyor.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ environment:
99
# /E:ON and /V:ON options are not enabled in the batch script interpreter
1010
# See: http://stackoverflow.com/a/13751649/163740
1111
CMD_IN_ENV: "cmd /E:ON /V:ON /C ..\\appveyor\\run_with_env.cmd"
12-
CMD_IN_ENV_DEEP: "cmd /E:ON /V:ON /C ..\\..\\appveyor\\run_with_env.cmd"
1312
WHEELHOUSE_UPLOADER_USERNAME: sklearn-appveyor
1413
WHEELHOUSE_UPLOADER_SECRET:
1514
secure: P1/NpWGueg+26XlcS0P6kIKO1KbRw67S6ltwEjxb+vgf0F+zfNT6FRaMPKfHSXiR
@@ -91,11 +90,12 @@ install:
9190
build: false
9291

9392
test_script:
94-
# Change to a non-source folder to make sure we run the tests on the
93+
# Remove the source dir to make sure we run the tests on the
9594
# installed library.
96-
- "mkdir empty_folder"
97-
- "cd empty_folder"
98-
- "%CMD_IN_ENV_DEEP% pytest --pyargs sklearn"
95+
- "rd /s /q \"sklearn\""
96+
# remove setup.cfg so as to not force --doctest-modules
97+
- "del setup.cfg"
98+
- "%CMD_IN_ENV% pytest -rs --pyargs sklearn"
9999

100100
# Move back to the project folder
101101
- "cd .."

scikit-learn

Submodule scikit-learn updated 466 files

0 commit comments

Comments
 (0)