diff --git a/.travis.yml b/.travis.yml index 0edc541e6..60c954c74 100644 --- a/.travis.yml +++ b/.travis.yml @@ -77,6 +77,7 @@ jobs: aqt install-qt windows desktop $QT_VERSION win64_msvc2019_64 -m all -O /C/Qt && \ aqt install-tool windows desktop tools_ifw -O /C/Qt ; \ fi + - choco install ccache script: - echo set BUILD_ARCH=$BUILD_ARCH > winbuild.bat @@ -86,7 +87,10 @@ jobs: - echo call \""%MSVC_PATH_WIN%\\Common7\\Tools\\VsDevCmd.bat\" -arch=amd64" >> winbuild.bat - echo call deploy\\build_windows.bat >> winbuild.bat - cmd //c winbuild.bat - + + after_script: + - ccache --show-stats + deploy: provider: releases token: $GH_TOKEN @@ -128,6 +132,7 @@ jobs: aqt install-qt windows desktop $QT_VERSION win32_msvc2019 -m all -O /C/Qt && \ aqt install-tool windows desktop tools_ifw -O /C/Qt ; \ fi + - choco install ccache script: - echo set BUILD_ARCH=$BUILD_ARCH > winbuild.bat @@ -138,6 +143,9 @@ jobs: - echo call deploy\\build_windows.bat >> winbuild.bat - cmd //c winbuild.bat + after_script: + - ccache --show-stats + deploy: provider: releases token: $GH_TOKEN diff --git a/client/client.pro b/client/client.pro index fc05dd0fc..42132edcb 100644 --- a/client/client.pro +++ b/client/client.pro @@ -3,6 +3,12 @@ QT += widgets core gui network xml remoteobjects quick svg TARGET = AmneziaVPN TEMPLATE = app +# silent builds on CI env +contains(DEFINES,CI){ + message("Detected CI env") + CONFIG += silent ccache +} + CONFIG += qtquickcompiler CONFIG += qzxing_multimedia \ enable_decoder_qr_code \