2017-11-16 04:52:26 +00:00
|
|
|
version: '{build}'
|
|
|
|
pull_requests:
|
|
|
|
do_not_increment_build_number: true
|
|
|
|
environment:
|
|
|
|
matrix:
|
2020-03-04 22:28:02 +00:00
|
|
|
- PYTHON: "C:\\Python37-x64\\python.exe"
|
2020-03-04 22:18:39 +00:00
|
|
|
PYTHON_VERSION: "3.7"
|
2020-03-04 22:17:57 +00:00
|
|
|
|
2020-03-04 22:28:02 +00:00
|
|
|
- PYTHON: "C:\\Python38-x64\\python.exe"
|
2020-03-04 22:18:39 +00:00
|
|
|
PYTHON_VERSION: "3.8"
|
2017-11-16 04:52:26 +00:00
|
|
|
install:
|
2020-03-04 22:25:43 +00:00
|
|
|
- cmd: "%PYTHON% -m pip install --upgrade pip"
|
|
|
|
- cmd: "%PYTHON% -m pip install -r requirements.txt --upgrade"
|
2020-03-04 22:28:57 +00:00
|
|
|
- cmd: "%PYTHON% -m pip install --upgrade cx_Freeze"
|
2020-03-04 22:05:12 +00:00
|
|
|
build_script:
|
2020-03-04 22:25:43 +00:00
|
|
|
- cmd: "%PYTHON% setup.py build_exe"
|
2017-11-16 04:52:26 +00:00
|
|
|
artifacts:
|
2020-03-04 22:26:39 +00:00
|
|
|
- path: "build\\exe.win-amd64-%PYTHON_VERSION%\\"
|
2020-03-08 14:47:43 +00:00
|
|
|
name: "Berserker_Multiworld_%APPVEYOR_REPO_BRANCH%_Python%PYTHON_VERSION%-x64"
|
2020-03-08 14:43:51 +00:00
|
|
|
deploy:
|
|
|
|
description: 'Appveyor automated build'
|
|
|
|
provider: GitHub
|
|
|
|
auth_token:
|
|
|
|
secure: +cRWefLphFutZuzCcCsNS0tl7nNj/IpnJmfht6hZFh2z9eQdFgcu6zwGS3lWItat
|
|
|
|
artifact: /.*\.zip/ # upload all NuGet packages to release assets
|
|
|
|
draft: false
|
|
|
|
prerelease: false
|
|
|
|
on:
|
|
|
|
APPVEYOR_REPO_TAG: true # deploy on tag push only
|