-
Notifications
You must be signed in to change notification settings - Fork 237
/
appveyor.yml
40 lines (30 loc) · 978 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
# Run windows builds on appveyor.com
version: "Build #{build}"
environment:
PYTHON: C:\Python36
install:
# Path setup
- set PATH=%PYTHON%;%PYTHON%\Scripts;%APPVEYOR_BUILD_FOLDER%;%PATH%
# Install dependencies
- python -m pip install --upgrade pip
- pip install -r requirements.txt
# Log versions
- python --version
- pip list --format=columns
# Download libusb
- appveyor DownloadFile http://jaist.dl.sourceforge.net/project/libusb-win32/libusb-win32-releases/1.2.6.0/libusb-win32-bin-1.2.6.0.zip
- 7z x libusb-win32-bin-1.2.6.0.zip
- move libusb-win32-bin-1.2.6.0\bin\x86\libusb0_x86.dll libusb0.dll
build: off
after_test:
# Run pyinstaller
- python -OO -m PyInstaller pmca-console.spec
- python -OO -m PyInstaller pmca-gui.spec
artifacts:
- path: dist\*
deploy:
# Deploy tagged releases
- provider: GitHub
auth_token: {secure: oojQVGlq4+lrv8NZ2LlNpsMMavvFEwgUKGgqZJ+TnoVV8XwqrbJnuAyvI2AHcCYu}
artifact: /.*/
on: {appveyor_repo_tag: true}