Fix ccache support for Travis CI

This commit is contained in:
Gunnar Beutner 2016-08-27 12:47:39 +02:00
parent f1cac2f20a
commit 5cd2bdcbcd
1 changed files with 2 additions and 2 deletions

View File

@ -2,12 +2,13 @@ sudo: false
language: cpp language: cpp
cache: ccache
compiler: compiler:
- gcc - gcc
addons: addons:
apt_packages: apt_packages:
- ccache
- libboost-all-dev - libboost-all-dev
- flex - flex
- bison - bison
@ -22,7 +23,6 @@ addons:
before_script: before_script:
- mkdir build - mkdir build
- cd build - cd build
- export PATH="/usr/lib/ccache:$PATH"
- cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=/tmp/icinga2 - cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=/tmp/icinga2
script: script: