Use Travis CI new feature caching to speed up building on Linux.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2016-12-16 11:55:59 +02:00
parent 2d34b1612b
commit 2f78b46023

View File

@ -6,6 +6,7 @@ matrix:
sudo: required
compiler: clang
env: DEPLOY=false
cache: ccache
- os: osx
compiler: clang
env: DEPLOY=true
@ -48,7 +49,12 @@ before_script:
- cd build
- pwd
- qmake --version
- qmake ../Valentina.pro -r CONFIG+=noDebugSymbols CONFIG+=no_ccache CONFIG+=checkWarnings
- |
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
qmake ../Valentina.pro -r CONFIG+=noDebugSymbols CONFIG+=checkWarnings;
else
qmake ../Valentina.pro -r CONFIG+=noDebugSymbols CONFIG+=no_ccache CONFIG+=checkWarnings CONFIG+=noTests;
fi
script:
- $CXX --version
- |