diff --git a/appveyor.yml b/appveyor.yml index e5de6228b860a0f9ea6c6cf036bd6a9b6132b950..e098655fd60371106d23e365dc1c963bf9e629e5 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -29,9 +29,7 @@ install: #- dir /b /s /ad c:\Qt\5.6 - "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%" - # Add qt to path - - "SET PATH=%QTDIR%\\bin;%QTDIR%\\lib;%PATH%" - - "SET QT_PLUGIN_PATH=%QTDIR%\\plugins" + #- "SET QT_PLUGIN_PATH=%QTDIR%\\plugins" - echo %PATH% #- choco install -y vcredist2015 - "%CMD_IN_ENV% conda config --set always_yes yes --set changeps1 no" diff --git a/ci/appveyor/build.cmd b/ci/appveyor/build.cmd index a28c07117b61ebb5dbcd3f008e721925e552395e..849283f38cfd0e57f2c06f9427000330d5ae4d86 100644 --- a/ci/appveyor/build.cmd +++ b/ci/appveyor/build.cmd @@ -19,7 +19,7 @@ pip install packaging python gen_resources.py if %errorlevel% neq 0 exit /b 1s -python gen_translations.py +.\\ci\\appveyor\\gen_translations.cmd if %errorlevel% neq 0 exit /b 1 pyinstaller sakia.spec diff --git a/ci/appveyor/gen_translations.cmd b/ci/appveyor/gen_translations.cmd new file mode 100644 index 0000000000000000000000000000000000000000..8f9d7e7abeeb24099ff77625bd013f85738ac7fe --- /dev/null +++ b/ci/appveyor/gen_translations.cmd @@ -0,0 +1,9 @@ +@ECHO ON + +# Add qt to path +- "SET PATH=%QTDIR%\\bin;%QTDIR%\\lib;%PATH%" + +lrelease -version + +python gen_translations.py +if %errorlevel% neq 0 exit /b 1 diff --git a/ci/appveyor/tests.cmd b/ci/appveyor/tests.cmd index 61e3c79ae7545d9c5f931b70fee343862959e63b..99c90893b661c867033b18275f7e3e8b3db008d0 100644 --- a/ci/appveyor/tests.cmd +++ b/ci/appveyor/tests.cmd @@ -4,6 +4,7 @@ call activate test-environment echo "%PATH%" echo "%QT_PLUGIN_PATH%" + python -V call pyuic5 --version