-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
58 lines (43 loc) · 1.39 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
environment:
global:
PYPI_PASS:
secure: 8om/mA+rp/SBcVXDrFC9LgyKPcEmlseSUT4WBBOgfYM=
ANACONDA_TOKEN:
secure: +l38MCyFk16Wb40xBFaa8U/F5pvBAnIUlsYMXPjLCnnPbsPbpkSWwbk6084u/GCV
WITH_COMPILER: "cmd /E:ON /V:ON /C .\\.ci\\appveyor\\run_with_env.cmd"
matrix:
- TARGET_ARCH: x64
PYTHON: "C:\\Python38-x64"
- TARGET_ARCH: x64
PYTHON: "C:\\Python37-x64"
- TARGET_ARCH: x64
PYTHON: "C:\\Python36-x64"
platform:
- x64
# os: Previous Visual Studio 2015
# os: Visual Studio 2013
init:
- "ECHO %PYTHON% %HOME% %PLATFORM%"
- "ECHO %APPVEYOR_REPO_BRANCH%"
install:
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
- "%WITH_COMPILER% pip install twine wheel -r requirements-testing.txt -r requirements-notebooks.txt"
- "%WITH_COMPILER% python -VV"
build: false
test_script:
- "%WITH_COMPILER% pip install numpy"
- "%WITH_COMPILER% pip install netcdf4==1.5.2"
- "%WITH_COMPILER% pip install -e ."
- "%WITH_COMPILER% pytest -vvv"
after_test:
- "%WITH_COMPILER% python setup.py bdist_wheel"
artifacts:
# Archive the generated conda package in the ci.appveyor.com build report.
- path: 'dist\*'
deploy_script:
- cmd: "%WITH_COMPILER% python .ci/appveyor/pypi_upload.py"
notifications:
- provider: Slack
auth_token:
secure: hvij8zEmE9LqjvwUJteiIZdwutlETmcJWwI/PtQEiAn3Hb2J+SH0Ye+pxMot2J2mc4i+zeNpHlzu8NV2CcLXzA==
channel: "#testing"