.travis.yml: enable ccache
This commit is contained in:
parent
36207d9726
commit
420582ec5e
12
.travis.yml
12
.travis.yml
@ -24,6 +24,10 @@ env:
|
|||||||
global:
|
global:
|
||||||
- MAKEFLAGS="-j2"
|
- MAKEFLAGS="-j2"
|
||||||
|
|
||||||
|
cache:
|
||||||
|
- apt
|
||||||
|
- ccache
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- eval "${MATRIX_EVAL}"
|
- eval "${MATRIX_EVAL}"
|
||||||
# C++14
|
# C++14
|
||||||
@ -31,12 +35,16 @@ before_install:
|
|||||||
|
|
||||||
install:
|
install:
|
||||||
# C++14
|
# C++14
|
||||||
- test "$TRAVIS_OS_NAME" != "osx" || brew install cppunit
|
- test "$TRAVIS_OS_NAME" != "osx" || brew install cppunit ccache
|
||||||
|
|
||||||
|
before_script:
|
||||||
|
- ccache -s
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- OPTIONS="--enable-test"
|
- OPTIONS="--enable-test"
|
||||||
- test "$TRAVIS_OS_NAME" != "osx" || OPTIONS="$OPTIONS --enable-osx"
|
- test "$TRAVIS_OS_NAME" != "osx" || OPTIONS="$OPTIONS --enable-osx"
|
||||||
- ./autogen.sh
|
- ./autogen.sh
|
||||||
- ./configure --disable-silent-rules --disable-dependency-tracking $OPTIONS
|
- ./configure CC="ccache $CC" CXX="ccache $CXX" --disable-silent-rules --disable-dependency-tracking $OPTIONS
|
||||||
- make
|
- make
|
||||||
- make check
|
- make check
|
||||||
|
- ccache -s
|
||||||
|
Loading…
Reference in New Issue
Block a user