Try to take appveyor mac/win differences regarding env variables into account.

This commit is contained in:
Tomas Groth 2020-07-16 22:34:41 +02:00
parent 66cf59767a
commit 72b5c8cea0
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ test_script:
after_test:
# Only package on the master repo
- ps: >-
If (!(Test-Path env:APPVEYOR_PULL_REQUEST_HEAD_REPO_NAME) -Or ($env:FORCE_PACKAGING -eq 1)) {
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)) {
# Continue on eror
$ErrorActionPreference = "Continue"
# This is where we create a package using PyInstaller