forked from aksnzhy/xlearn
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
44 lines (44 loc) · 2.21 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
version: '0.4.4.{build}'
image: Visual Studio 2017
build_script:
- cmd: mkdir build_win
- cmd: cd build_win
- cmd: cmake -G "Visual Studio 15 Win64" ../
- cmd: MSBuild xLearn.sln /p:Configuration=Release
- cmd: cd python-package
- cmd: C:\Python36-x64\Scripts\pip install wheel cython
- cmd: C:\Python36-x64\python.exe setup.py bdist_wheel --universal --plat-name win_amd64
test_script:
- cmd: cd ..\test
- cmd: .\run_all_test.bat
- cmd: cd ..\python-package\test
- cmd: dir /b ..\dist\*.whl>whlname
- cmd: set/p pkage=<whlname
- cmd: set pkagepath=..\dist\%pkage%
- cmd: C:\Python27-x64\Scripts\pip install %pkagepath%
- cmd: C:\Python27-x64\Scripts\pip install wheel scikit-learn cython
- cmd: C:\Python27-x64\python.exe test_data_conversion.py
- cmd: C:\Python27-x64\python.exe test_python.py
- cmd: C:\Python37-x64\Scripts\pip install %pkagepath%
- cmd: C:\Python37-x64\Scripts\pip install wheel scikit-learn cython
- cmd: C:\Python37-x64\python.exe test_data_conversion.py
- cmd: C:\Python37-x64\python.exe test_python.py
- cmd: C:\Python36-x64\Scripts\pip install %pkagepath%
- cmd: C:\Python36-x64\Scripts\pip install wheel scikit-learn cython
- cmd: C:\Python36-x64\python.exe test_data_conversion.py
- cmd: C:\Python36-x64\python.exe test_python.py
- cmd: C:\Python35-x64\Scripts\pip install %pkagepath%
- cmd: C:\Python35-x64\Scripts\pip install wheel scikit-learn cython
- cmd: C:\Python35-x64\python.exe test_data_conversion.py
- cmd: C:\Python35-x64\python.exe test_python.py
- cmd: set VS100COMNTOOLS=%VS140COMNTOOLS%
- cmd: C:\Python34-x64\Scripts\pip install %pkagepath%
- cmd: C:\Python34-x64\Scripts\pip install --upgrade setuptools
- cmd: C:\Python34-x64\Scripts\pip install wheel scikit-learn cython
- cmd: C:\Python34-x64\python.exe test_data_conversion.py
- cmd: C:\Python34-x64\python.exe test_python.py
artifacts:
- path: build_win\Release\*.exe
name: Bits
- path: build_win\python-package\dist\*.whl
name: Bits