|
1 | 1 | # AppVeyor.com is a Continuous Integration service to build and run tests under |
2 | 2 | # Windows |
3 | 3 | # https://ci.appveyor.com/project/fabianp/lightning-bpc6r |
4 | | -environment: |
5 | | - global: |
6 | | - # SDK v7.0 MSVC Express 2008's SetEnv.cmd script will fail if the |
7 | | - # /E:ON and /V:ON options are not enabled in the batch script interpreter |
8 | | - # See: http://stackoverflow.com/a/13751649/163740 |
9 | | - CMD_IN_ENV: "cmd /E:ON /V:ON /C .\\build_tools\\appveyor\\run_with_env.cmd" |
10 | 4 |
|
| 5 | +image: Visual Studio 2019 |
| 6 | + |
| 7 | +# Not a .NET project, we build scikit-learn in the install step instead |
| 8 | +build: false |
| 9 | + |
| 10 | +environment: |
11 | 11 | matrix: |
12 | | - - PYTHON: "C:\\Python27" |
13 | | - PYTHON_VERSION: "2.7.8" |
| 12 | + - PYTHON: "C:\\Python36" |
| 13 | + PYTHON_VERSION: "3.6.8" |
14 | 14 | PYTHON_ARCH: "32" |
15 | 15 |
|
16 | | - - PYTHON: "C:\\Python27-x64" |
17 | | - PYTHON_VERSION: "2.7.8" |
| 16 | + - PYTHON: "C:\\Python36-x64" |
| 17 | + PYTHON_VERSION: "3.6.8" |
18 | 18 | PYTHON_ARCH: "64" |
19 | 19 |
|
20 | 20 | - PYTHON: "C:\\Python37" |
21 | | - PYTHON_VERSION: "3.7.0" |
| 21 | + PYTHON_VERSION: "3.7.5" |
22 | 22 | PYTHON_ARCH: "32" |
23 | 23 |
|
24 | 24 | - PYTHON: "C:\\Python37-x64" |
25 | | - PYTHON_VERSION: "3.7.0" |
| 25 | + PYTHON_VERSION: "3.7.5" |
| 26 | + PYTHON_ARCH: "64" |
| 27 | + |
| 28 | + - PYTHON: "C:\\Python38" |
| 29 | + PYTHON_VERSION: "3.8.7" |
| 30 | + PYTHON_ARCH: "32" |
| 31 | + |
| 32 | + - PYTHON: "C:\\Python38-x64" |
| 33 | + PYTHON_VERSION: "3.8.7" |
26 | 34 | PYTHON_ARCH: "64" |
27 | 35 |
|
| 36 | + - PYTHON: "C:\\Python39" |
| 37 | + PYTHON_VERSION: "3.9.1" |
| 38 | + PYTHON_ARCH: "32" |
| 39 | + |
| 40 | + - PYTHON: "C:\\Python39-x64" |
| 41 | + PYTHON_VERSION: "3.9.1" |
| 42 | + PYTHON_ARCH: "64" |
28 | 43 |
|
29 | 44 |
|
30 | 45 | install: |
31 | 46 | # Miniconda is pre-installed in the worker build |
32 | | - - "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%" |
| 47 | + - "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PYTHON%\\Library\\mingw-w64\\bin;%PYTHON%\\Library\\bin;%PYTHON%\\Library\\usr\\bin;%PATH%" |
33 | 48 | - "python -m pip install -U pip" |
34 | 49 |
|
35 | 50 | # Check that we have the expected version and architecture for Python |
36 | 51 | - "python --version" |
37 | 52 | - "python -c \"import struct; print(struct.calcsize('P') * 8)\"" |
38 | | - - "pip --version" |
| 53 | + - "python -m pip --version" |
39 | 54 |
|
40 | | - - "%CMD_IN_ENV% pip install --timeout=60 numpy scipy cython nose scikit-learn wheel six joblib" |
41 | | - - "%CMD_IN_ENV% python setup.py bdist_wheel bdist_wininst" |
| 55 | + - "python -m pip install --timeout=60 numpy scipy cython nose scikit-learn wheel six joblib" |
| 56 | + - "python setup.py bdist_wheel bdist_wininst" |
42 | 57 |
|
43 | 58 | - ps: "ls dist" |
44 | 59 | # Install the generated wheel package to test it |
45 | | - - "pip install --pre --no-index --find-links dist/ sklearn-contrib-lightning" |
46 | | - |
47 | | -# Not a .NET project, we build scikit-learn in the install step instead |
48 | | -build: false |
| 60 | + - "python -m pip install --pre --no-index --find-links dist/ sklearn-contrib-lightning" |
49 | 61 |
|
50 | 62 | test_script: |
51 | 63 | # Change to a non-source folder to make sure we run the tests on the |
|
0 commit comments