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
|
sudo: required
|
||||||
dist: trusty
|
dist: trusty
|
||||||
language: cpp
|
language: cpp
|
||||||
|
cache: ccache
|
||||||
|
|
||||||
# regex is for release tags
|
# regex is for release tags
|
||||||
branches:
|
branches:
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user