-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathappveyor.yml
37 lines (32 loc) · 870 Bytes
/
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
version: "{branch}-{build}"
environment:
PY_PYTHON: 2.7-32
init:
- ps: |
if ($env:APPVEYOR_REPO_TAG_NAME -and $env:APPVEYOR_REPO_TAG_NAME.StartsWith("test-")) {
$pre = true
$version = $env:APPVEYOR_REPO_TAG_NAME.Substring(4)
}
install:
- py -m pip install markdown
- py -m pip install --egg scons
build_script:
- scons
- scons pot
artifacts:
- path: '*.nvda-addon'
name: addon
type: application/x-nvda-addon
- path: '*.pot'
type: application/x-pot
deploy:
release: $(APPVEYOR_REPO_TAG_NAME)
description: $(APPVEYOR_REPO_COMMIT_MESSAGE)$(APPVEYOR_REPO_COMMIT_MESSAGE_EXTENDED)
provider: GitHub
auth_token:
secure: D6nDTGin+O15mi48HCwAAu4gXJyUMxQd31t84RdWEFlfzYfgbu4FTH2VLC6l46Fy
artifact: addon
draft: false
prerelease: $pre
on:
appveyor_repo_tag: true # deploy on tag push only