-
Notifications
You must be signed in to change notification settings - Fork 37
/
Copy pathappveyor.yml
76 lines (64 loc) · 2.51 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
67
68
69
70
71
72
73
74
75
76
os: Visual Studio 2015
branches:
only:
- master
environment:
global:
# SDK v7.0 MSVC Express 2008's SetEnv.cmd script will fail if the
# /E:ON and /V:ON options are not enabled in the batch script intepreter
# See: http://stackoverflow.com/a/13751649/163740
CMD_IN_ENV: "cmd /E:ON /V:ON /C .\\devtools\\appveyor\\run_with_env.cmd"
PYTHONUNBUFFERED: 1
BINSTAR_TOKEN:
secure: o/EWH4+tTwLwru5Oq6dXH2rnmxzkQR9FkAsWXeMQDOdaznl6loYZ3fUW9fDyh3Hg
matrix:
- PYTHON: "C:\\Miniconda"
CONDA_PY: "27"
PYTHON_VERSION: "2.7.x"
PYTHON_ARCH: "32"
- PYTHON: "C:\\Miniconda-x64"
CONDA_PY: "27"
PYTHON_VERSION: "2.7.x"
PYTHON_ARCH: "64"
- PYTHON: "C:\\Miniconda3"
CONDA_PY: "35"
PYTHON_VERSION: "3.5.x"
PYTHON_ARCH: "32"
- PYTHON: "C:\\Miniconda3-x64"
CONDA_PY: "35"
PYTHON_VERSION: "3.5.x"
PYTHON_ARCH: "64"
- PYTHON: "C:\\Miniconda3"
CONDA_PY: "36"
PYTHON_VERSION: "3.6.x"
PYTHON_ARCH: "32"
- PYTHON: "C:\\Miniconda3-x64"
CONDA_PY: "36"
PYTHON_VERSION: "3.6.x"
PYTHON_ARCH: "64"
- PYTHON: "C:\\Miniconda3-x64"
CONDA_PY: "37"
PYTHON_VERSION: "3.7.x"
PYTHON_ARCH: "64"
install:
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
- set PATH=C:\MinGW\msys\1.0\bin;%PATH%
# - conda update -yq --all
- conda install -yq conda==4.3.34 conda-build==2.1.17 jinja2 anaconda-client
- conda config --add channels omnia
- conda config --add channels conda-forge
- powershell .\\devtools\\appveyor\\missing-headers.ps1
# conda-build for some inane reason, effectively puts C:\cygwin\bin at the
# front of the PATH, ahead of everything else, regardless. See
# https://github.com/conda/conda-build/blob/master/conda_build/external.py#L19
# On Appveyor, the version of git installed there doesn't work
# outside of the cygwin envronment, so despite a perfectly good version of
# git being installed somewhere else (git for windows, which works properly),
# conda-build will always choose to use the broken one. The only way I could
# think of to fix this is just to delete the broken one, so that it never gets
# found by conda-build. Or someone could fix conda-build.
- "del C:\\cygwin\\bin\\git.exe"
build: false
test_script:
- ps: if (($env:APPVEYOR_PULL_REQUEST_NUMBER -eq $null) -and ($env:APPVEYOR_REPO_BRANCH -eq "master")) { $env:UPLOAD = "--upload omnia" } else { $env:UPLOAD = " " }
- "%CMD_IN_ENV% python conda-build-all %UPLOAD% --python %CONDA_PY% *"