From 8cb8119dfdde146e07dbb6f53ea8817657352456 Mon Sep 17 00:00:00 2001 From: Raoul Snyman Date: Thu, 11 Aug 2022 22:44:34 -0700 Subject: [PATCH] Install VLC before running tests --- appveyor.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 79acde1b6..a5695eda2 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -22,9 +22,11 @@ environment: QT_QPA_PLATFORM: offscreen FORCE_PACKAGING: 0 FORCE_PACKAGING_MANUAL: 0 + HOMEBREW_FORCE_BREWED_CURL: 1 + HOMEBREW_NO_AUTO_UPDATE: 1 init: - - cmd: set PATH=%PY_DIR%;%PY_DIR%\Scripts;%PATH% +- cmd: set PATH=%PY_DIR%;%PY_DIR%\Scripts;%PATH% install: # Update pip @@ -33,8 +35,10 @@ install: - python -m pip install sqlalchemy alembic appdirs chardet beautifulsoup4 lxml Mako mysql-connector-python pytest mock psycopg2-binary websockets waitress six webob requests QtAwesome PyQt5 PyQtWebEngine pymediainfo PyMuPDF QDarkStyle python-vlc zeroconf flask-cors pytest-qt pyenchant pysword qrcode pillow # Install Windows only dependencies - cmd: python -m pip install pyodbc pypiwin32 + - cmd: choco install vlc $env:CHOCO_VLC_ARG --no-progress --limit-output # Mac only dependencies - sh: python -m pip install Pyro4 'pyobjc-core<8.2' 'pyobjc-framework-Cocoa<8.2' py-applescript + - sh: brew install --cask vlc build: off @@ -80,10 +84,6 @@ after_test: # install dmgbuild tool python -m pip install --no-warn-script-location dmgbuild # use brew to build enchant, needed for pyenchant - # Setting HOMEBREW_FORCE_BREWED_CURL since the native curl on macos mojave (10.14) has issues downloading from certain servers - $env:HOMEBREW_FORCE_BREWED_CURL=1 - # Skip auto updating - $env:HOMEBREW_NO_AUTO_UPDATE=1 brew install enchant } # Get the packaging code