AppVeyour. Generate debug symbols only when deploy.

Think it will help avoid hosting limitations.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2017-01-03 16:21:54 +02:00
parent b41ea624da
commit ab2e682e1e

View File

@ -168,7 +168,7 @@ before_build:
# to run your custom scripts instead of automatic MSBuild # to run your custom scripts instead of automatic MSBuild
build_script: build_script:
- cd build - cd build
- qmake ..\Valentina.pro -r CONFIG+=no_ccache CONFIG+=checkWarnings - if %DEPLOY% == "true" (qmake ..\Valentina.pro -r CONFIG+=no_ccache CONFIG+=checkWarnings) else (qmake ..\Valentina.pro -r CONFIG+=noDebugSymbols CONFIG+=no_ccache CONFIG+=checkWarnings)
- if not "%QMAKE_GENERATOR%" == "MinGW Makefiles" (nmake -s) else (mingw32-make -j%NUMBER_OF_PROCESSORS%) - if not "%QMAKE_GENERATOR%" == "MinGW Makefiles" (nmake -s) else (mingw32-make -j%NUMBER_OF_PROCESSORS%)
# to run your custom scripts instead of automatic tests # to run your custom scripts instead of automatic tests