Make use of ccache for the linux builds on Travis CI

0.8
Bruno Van de Velde 2017-08-18 01:36:30 +02:00
parent c74a262629
commit aafe909eee
1 changed files with 4 additions and 1 deletions

View File

@ -10,6 +10,7 @@ matrix:
compiler: g++-4.9
env: COMPILER=g++-4.9
cache:
ccache: true
directories:
- $HOME/SFML_LINUX
@ -17,6 +18,7 @@ matrix:
compiler: g++-6
env: COMPILER=g++-6
cache:
ccache: true
directories:
- $HOME/SFML-2.4.0_LINUX
@ -33,6 +35,7 @@ addons:
packages:
- g++-4.9
- g++-6
- ccache
- libfreetype6-dev
- libjpeg-dev
- libx11-dev
@ -58,8 +61,8 @@ addons:
script:
- >
CXX=$COMPILER;
if [[ $TRAVIS_OS_NAME == 'linux' ]]; then
export CXX=$COMPILER;
if [[ $CXX == g++-4.9 ]]; then
chmod +x tests/travis_linux.sh
tests/travis_linux.sh