-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
48 lines (43 loc) · 1.19 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
version: '{build}'
image: Visual Studio 2015
platform:
- x86
- x64
environment:
# global:
# DISTUTILS_USE_SDK: 1
# MSSdk: 1
BINSTAR_TOKEN:
secure: +jbjjU3RNqqjwIJde8MtkEcqacibU5NtvOkpCScU+2uR8l2akHOhjkhBmPYgOl36
matrix:
# - CONDA: 27
- CONDA: 35
matrix:
allow_failures:
- platform: x86
CONDA: 27
install:
# - cmd: '"%VS140COMNTOOLS%\..\..\VC\vcvarsall.bat" %PLATFORM%'
- ps: |
if ($env:CONDA) {
if ($env:CONDA -eq "27") { $env:CONDA = "" }
if ($env:PLATFORM -eq "x64") { $env:CONDA = "$env:CONDA-x64" }
$env:PATH = "C:\Miniconda$env:CONDA\;C:\Miniconda$env:CONDA\Scripts\;$env:PATH"
conda config --set always_yes yes --set changeps1 no
conda config --add channels conda-forge
conda update -q conda
conda install -q anaconda-client
conda install -q conda-build-all
conda config --add channels benensta
}
build_script:
- ps: |
if ($env:CONDA) {
Try {
conda-build-all ./recipes --matrix-conditions "python >=3.4" --inspect-channels benensta --upload-channels benensta
}Catch [Management.Automation.RemoteException] {
$Time=Get-Date
}Finally{
$Time=Get-Date
}
}