[New] Enable ccache on Travis CI to speed up compilation

Peter Dave Hello 2018-11-18 16:38:36 +08:00
parent a49d9163ef
commit 22d32bede0
1 changed files with 2 additions and 0 deletions

View File

@ -10,6 +10,7 @@ addons:
# - g++-4.8
cache:
ccache: true
directories:
- $HOME/.npm
- $TRAVIS_BUILD_DIR/.cache
@ -37,6 +38,7 @@ env:
- CXX=g++-4.8
- CC=gcc-4.8
- PATH="$(echo $PATH | sed 's/::/:/')"
- PATH="/usr/lib/ccache/:$PATH"
- NVM_DIR="${TRAVIS_BUILD_DIR}"
matrix:
- MAKE_RELEASE=true