Skip to content

Commit cab9fcf

Browse files
authored
MAINT Update build appveyor (#393)
1 parent 6be252b commit cab9fcf

File tree

2 files changed

+9
-38
lines changed

2 files changed

+9
-38
lines changed

appveyor.yml

Lines changed: 9 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
build: false
2+
13
environment:
24
# There is no need to run the build for all the Python version /
35
# architectures combo as the generated nilearn wheel is the same on all
@@ -30,31 +32,12 @@ install:
3032
# Add Library/bin directory to fix issue
3133
# https://github.com/conda/conda/issues/1753
3234
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PYTHON%\\Library\\bin;%PATH%"
33-
34-
# Check that we have the expected version and architecture for Python
35-
- "python --version"
36-
- "python -c \"import struct; print(struct.calcsize('P') * 8)\""
37-
38-
# Installed prebuilt dependencies from conda
39-
- "conda install pip numpy scipy scikit-learn=0.19.0 pandas nose wheel matplotlib -y -q"
40-
41-
# Install other nilearn dependencies
42-
- "pip install coverage nose-timer pytest pytest-cov"
43-
- "python setup.py bdist_wheel"
44-
- ps: "ls dist"
45-
46-
# Install the generated wheel package to test it
47-
- "pip install --pre --no-index --find-links dist/ imbalanced-learn"
48-
49-
# Not a .NET project, we build in the install step instead
50-
build: false
35+
- conda install pip scipy numpy scikit-learn=0.19 pandas -y -q
36+
- conda install pytest pytest-cov -y -q
37+
- conda install nose -y -q # FIXME: remove this line when using sklearn > 0.19
38+
- pip install .
5139

5240
test_script:
53-
- powershell ./build_tools/appveyor/test.ps1
54-
55-
artifacts:
56-
# Archive the generated packages in the ci.appveyor.com build report.
57-
- path: dist\*
58-
59-
#on_success:
60-
# - TODO: upload the content of dist/*.whl to a public wheelhouse
41+
- mkdir for_test
42+
- cd for_test
43+
- pytest --pyargs imblearn --cov-report term-missing --cov=imblearn

build_tools/appveyor/test.ps1

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)