[New] Enable ccache on Travis CI to speed up compilation
parent
a49d9163ef
commit
22d32bede0
|
@ -10,6 +10,7 @@ addons:
|
||||||
# - g++-4.8
|
# - g++-4.8
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
|
ccache: true
|
||||||
directories:
|
directories:
|
||||||
- $HOME/.npm
|
- $HOME/.npm
|
||||||
- $TRAVIS_BUILD_DIR/.cache
|
- $TRAVIS_BUILD_DIR/.cache
|
||||||
|
@ -37,6 +38,7 @@ env:
|
||||||
- CXX=g++-4.8
|
- CXX=g++-4.8
|
||||||
- CC=gcc-4.8
|
- CC=gcc-4.8
|
||||||
- PATH="$(echo $PATH | sed 's/::/:/')"
|
- PATH="$(echo $PATH | sed 's/::/:/')"
|
||||||
|
- PATH="/usr/lib/ccache/:$PATH"
|
||||||
- NVM_DIR="${TRAVIS_BUILD_DIR}"
|
- NVM_DIR="${TRAVIS_BUILD_DIR}"
|
||||||
matrix:
|
matrix:
|
||||||
- MAKE_RELEASE=true
|
- MAKE_RELEASE=true
|
||||||
|
|
Loading…
Reference in New Issue