1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

chore(travis): make travis cache ccache and use it for all compiling

osx builds fail with ccache, so they don't use it.
This commit is contained in:
Zetok Zalbavar 2017-01-11 21:06:05 +00:00
parent 26e372dc54
commit 7c7123682a
No known key found for this signature in database
GPG Key ID: C953D3880212068A
2 changed files with 5 additions and 0 deletions

View File

@ -1,6 +1,7 @@
sudo: required sudo: required
dist: trusty dist: trusty
language: cpp language: cpp
cache: ccache
# regex is for release tags # regex is for release tags
branches: branches:

View File

@ -48,6 +48,10 @@ sudo apt-get install -y --force-yes \
qt53xmlpatterns \ qt53xmlpatterns \
pkg-config || yes pkg-config || yes
# make sure to use ccache for all the compiling
export CC="ccache $CC"
export CXX="ccache $CXX"
# Qt # Qt
source /opt/qt53/bin/qt53-env.sh || yes source /opt/qt53/bin/qt53-env.sh || yes