forked from openstenoproject/plover
-
Notifications
You must be signed in to change notification settings - Fork 1
/
appveyor.yml
73 lines (51 loc) · 1.51 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
version: '{build}'
skip_tags: false
pull_requests:
do_not_increment_build_number: true
deploy:
- provider: GitHub
release: $(APPVEYOR_REPO_TAG_NAME)
draft: true
auth_token:
secure: m8kBg3jFX2k516nlmWkvxNCrBwlQZMaa6hNn7A+rktl781BRTyKssCXQqKAwPJLs
on:
appveyor_repo_tag: true
environment:
global:
PIP_ACCEL_LOG_FORMAT: "%(name)-18s %(levelname)s %(message)s"
matrix:
- PYTHON: "C:\\Python36"
PYTHON_VERSION: "3.6"
PYTHON_ARCH: "32"
cache:
- .cache
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"
# Add Nullsoft Scriptable Install System to the PATH.
- "SET PATH=C:\\Program Files (x86)\\NSIS;%PATH%"
# Setup the rest of the environment.
- "python -m plover_build_utils.get_pip"
- "python -m plover_build_utils.install_wheels -r requirements.txt"
- "python -m pip list --format=freeze"
build:
verbosity: minimal
before_build:
# Update version number from VCS.
- "python setup.py patch_version"
build_script:
- "python setup.py build"
test_script:
- "python setup.py test"
after_test:
- "python setup.py bdist_win -t -z -i"
artifacts:
- path: dist\*.exe
name: installer
- path: dist\*.zip
name: all-in-one zip