Commit f58af7d2 authored by Jonah Brüchert's avatar Jonah Brüchert 🌳 Committed by Linus Jahn

Travis-CI: Use CCache (#188)

This will use ccache on the travis-ci and cache the ccache files in the travis-ci caches, so the travis-ci
builds will speed up a bit, if the same file has been compiled already.
parent 205e8090
language: cpp
compiler: gcc
cache: ccache
sudo: required
dist: trusty
......@@ -16,7 +16,7 @@ cd ../build
export QT_SELECT=qt5
# Build kaidan
cmake --build .
DESTDIR=../AppDir cmake --build . --target install
cd ..
......@@ -9,10 +9,10 @@ echo "*****************************************"
mkdir ../build; cd ../build/
if [ $BUILD_SYSTEM == "cmake" ]; then
cmake .. -GNinja -DI18N=1
cmake .. -GNinja -DI18N=1 -DCMAKE_CXX_COMPILER_LAUNCHER=ccache
cmake --build .
elif [ $BUILD_SYSTEM == "qmake" ]; then
lrelease ../
qmake ..
qmake "QMAKE_CXX=ccache g++" ..
make -j$(nproc)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment