|
| 1 | +build: false |
| 2 | + |
1 | 3 | environment:
|
2 | 4 | # There is no need to run the build for all the Python version /
|
3 | 5 | # architectures combo as the generated nilearn wheel is the same on all
|
@@ -30,31 +32,12 @@ install:
|
30 | 32 | # Add Library/bin directory to fix issue
|
31 | 33 | # https://github.com/conda/conda/issues/1753
|
32 | 34 | - "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 . |
51 | 39 |
|
52 | 40 | 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 |
0 commit comments