forked from SciTools/conda-recipes-scitools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
42 lines (33 loc) · 1.43 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
environment:
CONDA_INSTALL_LOCN: "C:\\conda"
# 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 obvci_appveyor_python_build_env.cmd"
BINSTAR_TOKEN:
secure: rCl3tR9qKVjNlG9MVyY2E6ZZsj6Wrhwe5ytWWXtbUaJWpIiLkY6ItyJkAyEpNJCO
matrix:
- TARGET_ARCH: "x86"
CONDA_PY: "27"
CONDA_NPY: "18"
- TARGET_ARCH: "x64"
CONDA_PY: "27"
CONDA_NPY: "18"
# We always use a 64-bit machine, but can build x86 distributions
# with the TARGET_ARCH variable.
platform:
- x64
install:
- cmd: cinst wget -x86
- cmd: wget https://raw.githubusercontent.com/pelson/Obvious-CI/master/bootstrap-obvious-ci-and-miniconda.py --no-check-certificate
- cmd: python bootstrap-obvious-ci-and-miniconda.py %CONDA_INSTALL_LOCN% %TARGET_ARCH% %CONDA_PY:~0,1% --without-obvci
- cmd: set PATH=%PATH%;%CONDA_INSTALL_LOCN%;%CONDA_INSTALL_LOCN%\scripts
- cmd: set PYTHONUNBUFFERED=1
- cmd: conda install -c http://conda.binstar.org/pelson/channel/development --yes --quiet obvious-ci
- cmd: conda config --add channels http://conda.binstar.org/pelson
- cmd: conda info
- cmd: obvci_install_conda_build_tools.py
# Skip .NET project specific build phase.
build: off
test_script:
- "%CMD_IN_ENV% obvci_conda_build_dir.py .\ pelson --channel main"