Skip to content
This repository was archived by the owner on Feb 14, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ environment:
# Make sure we don't download large datasets when running the test on
# continuous integration platform
SKLEARN_SKIP_NETWORK_TESTS: 1
# Minimum numpy version
NP_BUILD_DEP: "1.10.4"

matrix:
- PYTHON: "C:\\Python27"
Expand Down Expand Up @@ -45,18 +47,22 @@ environment:
- PYTHON: "C:\\Python36"
PYTHON_VERSION: "3.6.0"
PYTHON_ARCH: "32"
NP_BUILD_DEP: "1.12.1"

- PYTHON: "C:\\Python36-x64"
PYTHON_VERSION: "3.6.0"
PYTHON_ARCH: "64"
NP_BUILD_DEP: "1.12.1"

- PYTHON: "C:\\Python37"
PYTHON_VERSION: "3.7.0"
PYTHON_ARCH: "32"
NP_BUILD_DEP: "1.14.5"

- PYTHON: "C:\\Python37-x64"
PYTHON_VERSION: "3.7.0"
PYTHON_ARCH: "64"
NP_BUILD_DEP: "1.14.5"


install:
Expand All @@ -79,7 +85,8 @@ install:
- "git reset --hard"

# Install the build and runtime dependencies of the project.
- "%CMD_IN_ENV% pip install --timeout=60 --trusted-host 28daf2247a33ed269873-7b1aad3fab3cc330e1fd9d109892382a.r6.cf2.rackcdn.com -r ../appveyor/requirements.txt"
- "%CMD_IN_ENV% pip install --timeout=60 numpy==%NP_BUILD_DEP%"
- "%CMD_IN_ENV% pip install --timeout=60 -r ../appveyor/requirements.txt"
- "%CMD_IN_ENV% python setup.py bdist_wheel"
- ps: "ls dist"

Expand All @@ -93,6 +100,8 @@ test_script:
# Remove the source dir to make sure we run the tests on the
# installed library.
- "rd /s /q \"sklearn\""
# Install the library version for testing
- "%CMD_IN_ENV% pip install -U --timeout=60 numpy"
# remove setup.cfg so as to not force --doctest-modules
- "del setup.cfg"
- "%CMD_IN_ENV% pytest -rs --pyargs sklearn"
Expand Down
1 change: 0 additions & 1 deletion appveyor/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
numpy==1.14.5
scipy==1.1.0
cython==0.28.4
pytest
Expand Down