-
Notifications
You must be signed in to change notification settings - Fork 37
/
appveyor.yml
66 lines (57 loc) · 1.98 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
environment:
matrix:
# - PYTHON: "C:\\Python27_32"
# PYTHON_VERSION: "2.7"
# PYTHON_ARCH: "32"
# CONDA_PY: "27"
- PYTHON: "C:\\Python27_64"
PYTHON_VERSION: "2.7"
PYTHON_ARCH: "64"
CONDA_PY: "27"
#- PYTHON: "C:\\Python34_32"
# PYTHON_VERSION: "3.4"
# PYTHON_ARCH: "32"
# CONDA_PY: "34"
# - PYTHON: "C:\\Python34_64"
# PYTHON_VERSION: "3.4"
# PYTHON_ARCH: "64"
# CONDA_PY: "34"
#- PYTHON: "C:\\Python35_32"
# PYTHON_VERSION: "3.5"
# PYTHON_ARCH: "32"
# CONDA_PY: "35"
- PYTHON: "C:\\Python35_64"
PYTHON_VERSION: "3.5"
PYTHON_ARCH: "64"
CONDA_PY: "35"
- PYTHON: "C:\\Python36_64"
PYTHON_VERSION: "3.6"
PYTHON_ARCH: "64"
CONDA_PY: "36"
install:
# https://www.appveyor.com/docs/installed-software#python
- if "%PYTHON_VERSION%" == "3.4" set "BASE_PYTHON_VERSION=3"
- if "%PYTHON_VERSION%" == "3.5" set "BASE_PYTHON_VERSION=35"
- if "%PYTHON_VERSION%" == "3.6" set "BASE_PYTHON_VERSION=36"
- if "%PYTHON_ARCH%" == "64" set "ARCH_LABEL=-x64"
# These are already installed on appveyor. Update them.
- set "CONDA_ROOT=C:\Miniconda%BASE_PYTHON_VERSION%%ARCH_LABEL%"
- set "PATH=%CONDA_ROOT%;%CONDA_ROOT%\Scripts;%CONDA_ROOT%\Library\bin;%PATH%"
- conda config --set always_yes yes
- conda update -q conda
- conda info
- conda update -q --all
- python -c "import sys; print(sys.version)"
- python -c "import sys; print(sys.executable)"
- python -c "import sys; print(sys.prefix)"
- conda create --yes --name test_env python=%PYTHON_VERSION%
- activate test_env
- conda install -q six numpy scikit-learn joblib nose
- conda install -q -c msys2 m2w64-toolchain m2w64-dlfcn pywin32
- pip install coverage codecov
- set "CXX=gcc -pthread"
- python setup.py build_ext --inplace --compiler=mingw32 -llibdl
build: false
test_script:
- nosetests -s -v --with-coverage compiledtrees
- codecov