Merge pull request #1947 from PeterDaveHello/Enable-ccache-on-TravisCI

[Tests] Enable ccache on Travis CI to speed up compilation
Jordan Harband 2018-11-24 23:18:23 -06:00 committed by GitHub
commit 914c220586
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -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