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
This commit is contained in:
Rick van Hattem 2016-08-11 07:11:19 +02:00 committed by redPanther
parent cf2b8b88ee
commit 11441c91dc

View File

@ -1,6 +1,10 @@
cache:
- ccache
- directories:
- $HOME/brew-cache
notifications: notifications:
email: false email: false
slack: hyperiondevteam:JHOhorlTVgcYKwT6Tj1nnGou slack: hyperiondevteam:JHOhorlTVgcYKwT6Tj1nnGou
language: cpp language: cpp
matrix: matrix:
include: include:
@ -9,10 +13,12 @@ matrix:
sudo: required sudo: required
- os: osx - os: osx
osx_image: xcode7.3 osx_image: xcode7.3
env:
- HOMEBREW_CACHE=$HOME/brew-cache
before_install: before_install:
- chmod +x ./.travis/travis_install.sh - chmod +x ./.travis/travis_install.sh
- ./.travis/travis_install.sh - ./.travis/travis_install.sh
script: script:
- chmod +x ./.travis/travis_build.sh ./test/testrunner.sh - chmod +x ./.travis/travis_build.sh ./test/testrunner.sh
- ./.travis/travis_build.sh - ./.travis/travis_build.sh
- ./test/testrunner.sh - ./test/testrunner.sh