From 11441c91dc9d69c1bba88a3b5babf8382e00b501 Mon Sep 17 00:00:00 2001 From: Rick van Hattem Date: Thu, 11 Aug 2016 07:11:19 +0200 Subject: [PATCH] Added some Travis caching (#167) * testing travis speedup using caching * testing travis speedup using caching * testing travis speedup using caching * testing travis speedup using caching --- .travis.yml | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index 20a8ad00..570a81ed 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,10 @@ +cache: + - ccache + - directories: + - $HOME/brew-cache notifications: - email: false - slack: hyperiondevteam:JHOhorlTVgcYKwT6Tj1nnGou + email: false + slack: hyperiondevteam:JHOhorlTVgcYKwT6Tj1nnGou language: cpp matrix: include: @@ -9,10 +13,12 @@ matrix: sudo: required - os: osx osx_image: xcode7.3 + env: + - HOMEBREW_CACHE=$HOME/brew-cache before_install: - - chmod +x ./.travis/travis_install.sh - - ./.travis/travis_install.sh + - chmod +x ./.travis/travis_install.sh + - ./.travis/travis_install.sh script: - - chmod +x ./.travis/travis_build.sh ./test/testrunner.sh - - ./.travis/travis_build.sh - - ./test/testrunner.sh + - chmod +x ./.travis/travis_build.sh ./test/testrunner.sh + - ./.travis/travis_build.sh + - ./test/testrunner.sh