summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYuri Kunde Schlesner <yuriks@yuriks.net>2014-12-20 18:03:29 +0100
committerYuri Kunde Schlesner <yuriks@yuriks.net>2014-12-20 18:56:25 +0100
commitd261e77c168c3a933458fd1fbfecbc1b983d083b (patch)
treec6ffcaef406381e11e637fe3e291c06cc6daf9d3
parentTravis: Enable APT cache. This should give us a small boost (diff)
downloadyuzu-d261e77c168c3a933458fd1fbfecbc1b983d083b.tar
yuzu-d261e77c168c3a933458fd1fbfecbc1b983d083b.tar.gz
yuzu-d261e77c168c3a933458fd1fbfecbc1b983d083b.tar.bz2
yuzu-d261e77c168c3a933458fd1fbfecbc1b983d083b.tar.lz
yuzu-d261e77c168c3a933458fd1fbfecbc1b983d083b.tar.xz
yuzu-d261e77c168c3a933458fd1fbfecbc1b983d083b.tar.zst
yuzu-d261e77c168c3a933458fd1fbfecbc1b983d083b.zip
-rw-r--r--.travis-deps.sh2
-rw-r--r--.travis.yml5
2 files changed, 6 insertions, 1 deletions
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