-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathappveyor.yml
46 lines (36 loc) · 982 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
38
39
40
41
42
43
44
45
46
branches:
only:
- master
skip_non_tags: true
build: off
test: off
environment:
matrix:
- PYTHON: "C:\\Python36"
PYTHON_VERSION: "3.6.8"
PYTHON_ARCH: "32"
- PYTHON: "C:\\Python36-x64"
PYTHON_VERSION: "3.6.8"
PYTHON_ARCH: "64"
init:
- "ECHO %PYTHON% %PYTHON_VERSION% %PYTHON_ARCH%"
install:
- "%PYTHON%/Scripts/pip.exe install pyinstaller"
test_script:
- "echo test"
after_test:
- "%PYTHON%/Scripts/pyinstaller.exe -w -F -n painter-%PYTHON_ARCH%bits.exe painter.py"
artifacts:
- path: "dist/painter-%PYTHON_ARCH%bits.exe"
name: painter
deploy:
description: 'Release description'
provider: GitHub
auth_token:
secure: 9AXBVcFsLwmlIqRtE1Iiocs1T5pEvXTryofJpx8nlLCzmFfSI8gp7u6FabwSRIDI # your encrypted token from GitHub
artifact: painter
draft: false
prerelease: false
on:
branch: master # release from master branch only
APPVEYOR_REPO_TAG: true # deploy on tag push only