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:
parent
26e372dc54
commit
7c7123682a
|
@ -1,6 +1,7 @@
|
|||
sudo: required
|
||||
dist: trusty
|
||||
language: cpp
|
||||
cache: ccache
|
||||
|
||||
# regex is for release tags
|
||||
branches:
|
||||
|
|
|
@ -48,6 +48,10 @@ sudo apt-get install -y --force-yes \
|
|||
qt53xmlpatterns \
|
||||
pkg-config || yes
|
||||
|
||||
# make sure to use ccache for all the compiling
|
||||
export CC="ccache $CC"
|
||||
export CXX="ccache $CXX"
|
||||
|
||||
# Qt
|
||||
source /opt/qt53/bin/qt53-env.sh || yes
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user