From 293741f7e68db53481925fd0823e513754e35b62 Mon Sep 17 00:00:00 2001 From: Jannis Froese Date: Fri, 2 May 2014 18:16:09 +0200 Subject: [PATCH] add ccache to Travis config --- .travis.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index dd5bd029c..0dc3e5473 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,11 +4,14 @@ compiler: - gcc before_install: - sudo apt-get update -qq - - sudo apt-get install build-essential libtool autotools-dev autoconf libssl-dev pkg-config + - sudo apt-get install build-essential libtool autotools-dev autoconf libssl-dev pkg-config ccache - sudo apt-get install libboost1.48-dev libboost-chrono1.48-dev libboost-filesystem1.48-dev libboost-program-options1.48-dev libboost-system1.48-dev libboost-test1.48-dev libboost-thread1.48-dev - sudo apt-get install libdb++-dev - sudo apt-get install libqt4-dev - sudo apt-get install libprotobuf-dev protobuf-compiler + - mkdir $HOME/.ccache + - export CCACHE_DIR=$HOME/.ccache + - ccache -M 1G script: - ./autogen.sh - CFLAGS="-O1" CXXFLAGS="-O1" ./configure