forked from openstenoproject/plover
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathappveyor.yml
79 lines (55 loc) · 1.61 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
version: '{build}'
skip_tags: false
pull_requests:
do_not_increment_build_number: true
deploy:
- provider: GitHub
release: $(APPVEYOR_REPO_TAG_NAME)
description: Weekly Pre-release
prerelease: true
draft: true
auth_token:
secure: m8kBg3jFX2k516nlmWkvxNCrBwlQZMaa6hNn7A+rktl781BRTyKssCXQqKAwPJLs
artifact: executable
on:
appveyor_repo_tag: true
environment:
global:
PIP_ACCEL_LOG_FORMAT: "%(name)-18s %(levelname)s %(message)s"
matrix:
- PYTHON: "C:\\Python27"
PYTHON_VERSION: "2.7"
PYTHON_ARCH: "32"
- PYTHON: "C:\\Python35"
PYTHON_VERSION: "3.5"
PYTHON_ARCH: "32"
cache:
# Keep cache of downloaded pip packages.
- C:\Users\appveyor\AppData\Local\pip
# Keep downloaded packages.
- C:\Dist
init:
- "ECHO %PYTHON% %PYTHON_VERSION% %PYTHON_ARCH%"
install:
# Prepend newly installed Python to the PATH of this build (this cannot be
# done from inside the powershell script as it would require to restart
# the parent CMD process).
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
- "python --version"
# Setup the rest of the environment.
- "python windows\\helper.py setup"
- "pip --disable-pip-version-check list"
build:
verbosity: minimal
before_build:
# Update version number from VCS.
- "python setup.py patch_version"
build_script:
- "python setup.py build"
after_build:
- ps: "if ($Env:PYTHON_VERSION -eq \"3.5\") { python windows\\helper.py dist }"
test_script:
- "python setup.py test"
artifacts:
- path: dist\*.exe
name: executable