enable caching for ci (#2799)

* enable cache

* caching on mac

* fix ci caching on mac

* fix

* add mac cache

* added homebrew cache and pretty print yaml (+ structural ordering)

* cleanup

* fix ccache on mac

* testing workaround

https://github.com/travis-ci/travis-ci/issues/7456#issuecomment-296505058

* try xcode7.3 instead of workaround

* cache timout value

more time for cache to upload
This commit is contained in:
tooomm 2017-07-07 16:17:18 +02:00 committed by ctrlaltca
parent b05ed0376a
commit 1565309146
3 changed files with 33 additions and 14 deletions

View file

@ -1,7 +1,7 @@
#!/bin/bash
if [[ $TRAVIS_OS_NAME == "osx" ]] ; then
brew update > /dev/null
brew install ccache # enable caching on mac (PATH only set in travis-compile.sh)
brew install --force qt@5.7
brew install protobuf
else