forked from openlp/openlp
Use python 3.9 on appveyor and only create bundles on tags or when running scheduled builds.
This commit is contained in:
parent
7a4e3e9b85
commit
ebea1a283f
16
appveyor.yml
16
appveyor.yml
@ -4,23 +4,23 @@ cache:
|
|||||||
- '%LOCALAPPDATA%\pip\Cache'
|
- '%LOCALAPPDATA%\pip\Cache'
|
||||||
- /Users/appveyor/Libraries/Caches/pip
|
- /Users/appveyor/Libraries/Caches/pip
|
||||||
|
|
||||||
stack: python 3.7
|
stack: python 3.9
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
matrix:
|
matrix:
|
||||||
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
|
||||||
PY_DIR: C:\\Python37-x64
|
PY_DIR: C:\\Python39-x64
|
||||||
CHOCO_VLC_ARG:
|
CHOCO_VLC_ARG:
|
||||||
FORCE_PACKAGING: 0
|
FORCE_PACKAGING: 1
|
||||||
FORCE_PACKAGING_MANUAL: 0
|
FORCE_PACKAGING_MANUAL: 0
|
||||||
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
|
||||||
PY_DIR: C:\\Python37
|
PY_DIR: C:\\Python39
|
||||||
CHOCO_VLC_ARG: --forcex86
|
CHOCO_VLC_ARG: --forcex86
|
||||||
FORCE_PACKAGING: 0
|
FORCE_PACKAGING: 1
|
||||||
FORCE_PACKAGING_MANUAL: 0
|
FORCE_PACKAGING_MANUAL: 0
|
||||||
- APPVEYOR_BUILD_WORKER_IMAGE: macos-mojave
|
- APPVEYOR_BUILD_WORKER_IMAGE: macos-mojave
|
||||||
QT_QPA_PLATFORM: offscreen
|
QT_QPA_PLATFORM: offscreen
|
||||||
FORCE_PACKAGING: 0
|
FORCE_PACKAGING: 1
|
||||||
FORCE_PACKAGING_MANUAL: 0
|
FORCE_PACKAGING_MANUAL: 0
|
||||||
|
|
||||||
init:
|
init:
|
||||||
@ -48,8 +48,8 @@ test_script:
|
|||||||
after_test:
|
after_test:
|
||||||
# Only package on the master repo
|
# Only package on the master repo
|
||||||
- ps: >-
|
- ps: >-
|
||||||
If (!(Test-Path env:APPVEYOR_PULL_REQUEST_HEAD_REPO_NAME) -Or ($env:APPVEYOR_PULL_REQUEST_HEAD_REPO_NAME -eq "") -Or ($env:FORCE_PACKAGING -eq 1)) {
|
If (($env:APPVEYOR_REPO_TAG) -Or ($env:APPVEYOR_SCHEDULED_BUILD) -Or ($env:FORCE_PACKAGING -eq 1)) {
|
||||||
# Continue on eror
|
# Continue on error
|
||||||
$ErrorActionPreference = "Continue"
|
$ErrorActionPreference = "Continue"
|
||||||
# This is where we create a package using PyInstaller
|
# This is where we create a package using PyInstaller
|
||||||
# Install PyInstaller
|
# Install PyInstaller
|
||||||
|
Loading…
Reference in New Issue
Block a user