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