mirror of https://github.com/Icinga/icinga2.git
Fix ccache support for Travis CI
This commit is contained in:
parent
f1cac2f20a
commit
5cd2bdcbcd
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue