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 sudo: required
compiler: clang compiler: clang
env: DEPLOY=false env: DEPLOY=false
cache: ccache
- os: osx - os: osx
compiler: clang compiler: clang
env: DEPLOY=true env: DEPLOY=true
@ -48,7 +49,12 @@ before_script:
- cd build - cd build
- pwd - pwd
- qmake --version - 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: script:
- $CXX --version - $CXX --version
- | - |