forked from amueller/word_cloud
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
99 lines (78 loc) · 2.14 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
90
91
92
93
94
95
96
97
98
branches:
only:
- master
- /^[0-9]+(\.[0-9]+)*(\.post[0-9]+)?$/
version: "0.0.1.{build}"
environment:
matrix:
# - PYTHON_DIR: "C:\\Python27"
# PYTHON_VERSION: "2.7.x"
# PYTHON_ARCH: "32"
# BLOCK: "0"
- PYTHON_DIR: "C:\\Python27-x64"
PYTHON_VERSION: "2.7.x"
PYTHON_ARCH: "64"
BLOCK: "0"
# - PYTHON_DIR: "C:\\Python34"
# PYTHON_VERSION: "3.4.x"
# PYTHON_ARCH: "32"
# BLOCK: "0"
- PYTHON_DIR: "C:\\Python34-x64"
PYTHON_VERSION: "3.4.x"
PYTHON_ARCH: "64"
BLOCK: "0"
# - PYTHON_DIR: "C:\\Python35"
# PYTHON_VERSION: "3.5.x"
# PYTHON_ARCH: "32"
# BLOCK: "0"
- PYTHON_DIR: "C:\\Python35-x64"
PYTHON_VERSION: "3.5.x"
PYTHON_ARCH: "64"
BLOCK: "0"
# - PYTHON_DIR: "C:\\Python36"
# PYTHON_VERSION: "3.6.x"
# PYTHON_ARCH: "32"
# BLOCK: "0"
- PYTHON_DIR: "C:\\Python36-x64"
PYTHON_VERSION: "3.6.x"
PYTHON_ARCH: "64"
BLOCK: "0"
# - PYTHON_DIR: "C:\\Python37"
# PYTHON_VERSION: "3.7.x"
# PYTHON_ARCH: "32"
# BLOCK: "0"
#
- PYTHON_DIR: "C:\\Python37-x64"
PYTHON_VERSION: "3.7.x"
PYTHON_ARCH: "64"
BLOCK: "0"
PYPI_USER:
secure: deKM8MvS0hJbOBqZmBym0Q==
PYPI_PASSWORD:
secure: FE4sZ/hIsAVxu408qFzrVw==
init:
- python -m pip install -U scikit-ci scikit-ci-addons
- python -m ci_addons --install ../addons
install:
- python -m ci install
build_script:
- python -m ci build
test_script:
- python -m ci test
after_test:
- python -m ci after_test
on_finish:
- ps: ../addons/appveyor/enable-worker-remote-access.ps1 -check_for_block
deploy_script:
- ps: |
if ($env:appveyor_repo_tag -eq $true -and $env:appveyor_repo_tag_name –match "^[0-9]+(\.[0-9]+)*(\.post[0-9]+)?$") {
Write-Host "deploy release"
$env:PATH="$env:PYTHON_DIR/Scripts/;$env:PATH"
twine upload -u $env:PYPI_USER -p $env:PYPI_PASSWORD --skip-existing dist/*
} elseif ($env:appveyor_repo_branch -eq "master") {
Write-Host "deploy master (not implemented)"
} else {
Write-Host "nothing to deploy"
}
matrix:
fast_finish: false