forked from landlab/landlab
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
89 lines (72 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
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
77
78
79
80
81
82
83
84
85
86
87
88
89
environment:
global:
PYPI_PASS:
secure: 8om/mA+rp/SBcVXDrFC9LgyKPcEmlseSUT4WBBOgfYM=
ANACONDA_TOKEN:
secure: +l38MCyFk16Wb40xBFaa8U/F5pvBAnIUlsYMXPjLCnnPbsPbpkSWwbk6084u/GCV
BUILD_STR: "dev"
WITH_COMPILER: "cmd /E:ON /V:ON /C .\\.ci\\appveyor\\run_with_env.cmd"
matrix:
- TARGET_ARCH: x86
CONDA_NPY: 111
CONDA_PY: 27
CONDA_INSTALL_LOCN: C:\\Miniconda
- TARGET_ARCH: x64
CONDA_NPY: 111
CONDA_PY: 27
CONDA_INSTALL_LOCN: C:\\Miniconda-x64
DISTUTILS_USE_SDK: 1
- TARGET_ARCH: x86
CONDA_NPY: 111
CONDA_INSTALL_LOCN: C:\\Miniconda35
CONDA_PY: 35
- TARGET_ARCH: x64
CONDA_NPY: 111
CONDA_INSTALL_LOCN: C:\\Miniconda35-x64
CONDA_PY: 35
- TARGET_ARCH: x86
CONDA_NPY: 111
CONDA_INSTALL_LOCN: C:\\Miniconda36
CONDA_PY: 36
- TARGET_ARCH: x64
CONDA_NPY: 111
CONDA_INSTALL_LOCN: C:\\Miniconda36-x64
CONDA_PY: 36
platform:
- x64
os: Previous Visual Studio 2015
# os: Visual Studio 2013
init:
- "ECHO %CONDA_INSTALL_LOCN% %CONDA_PY% %HOME% %PLATFORM%"
- "ECHO %APPVEYOR_REPO_BRANCH%"
install:
- cmd: call %CONDA_INSTALL_LOCN%\Scripts\activate.bat
- cmd: conda update --yes --quiet conda
- cmd: set PYTHONUNBUFFERED=1
- cmd: conda info
- cmd: conda config --set always_yes yes
- cmd: conda update conda
- cmd: conda install -q --force --no-deps psutil ruamel_yaml requests
- cmd: conda install -q conda-build=3.0
- cmd: conda install -q anaconda-client
- cmd: conda install -q numpy=1.11
- cmd: pip install twine
- cmd: conda list
build: false
test_script:
- "%WITH_COMPILER% conda build -q .conda-recipe --no-test"
# - cmd: conda install -q landlab --use-local
# - cmd: python scripts/test-installed-landlab.py
after_test:
- cmd: python setup.py bdist_wheel
artifacts:
# Archive the generated conda package in the ci.appveyor.com build report.
- path: 'dist\*'
deploy_script:
- cmd: python .ci/appveyor/anaconda_upload.py
- cmd: python .ci/appveyor/pypi_upload.py
notifications:
- provider: Slack
auth_token:
secure: hvij8zEmE9LqjvwUJteiIZdwutlETmcJWwI/PtQEiAn3Hb2J+SH0Ye+pxMot2J2mc4i+zeNpHlzu8NV2CcLXzA==
channel: "#testing"