From d261e77c168c3a933458fd1fbfecbc1b983d083b Mon Sep 17 00:00:00 2001 From: Yuri Kunde Schlesner Date: Sat, 20 Dec 2014 15:03:29 -0200 Subject: Travis: Try to cache downloaded files to work around sf.net sucking --- .travis-deps.sh | 2 ++ .travis.yml | 5 ++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.travis-deps.sh b/.travis-deps.sh index 8e22a6358..b978e552e 100644 --- a/.travis-deps.sh +++ b/.travis-deps.sh @@ -20,6 +20,8 @@ if [ "$TRAVIS_OS_NAME" = linux -o -z "$TRAVIS_OS_NAME" ]; then curl http://www.cmake.org/files/v2.8/cmake-2.8.11-Linux-i386.tar.gz \ | sudo tar -xz -C /usr/local --strip-components=1 elif [ "$TRAVIS_OS_NAME" = osx ]; then + export HOMEBREW_CACHE="$PWD/.homebrew-cache" + mkdir -p "$HOMEBREW_CACHE" brew tap homebrew/versions brew install qt5 glfw3 pkgconfig fi diff --git a/.travis.yml b/.travis.yml index fa60efaa3..8c5aceb7c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,7 +4,10 @@ os: language: cpp -cache: apt +cache: + apt: true + directories: + - .homebrew-cache before_install: - sh .travis-deps.sh -- cgit v1.2.3