diff options
| author | 2014-12-20 15:03:29 -0200 | |
|---|---|---|
| committer | 2014-12-20 15:56:25 -0200 | |
| commit | d261e77c168c3a933458fd1fbfecbc1b983d083b (patch) | |
| tree | c6ffcaef406381e11e637fe3e291c06cc6daf9d3 | |
| parent | Travis: Enable APT cache. This should give us a small boost (diff) | |
| download | yuzu-d261e77c168c3a933458fd1fbfecbc1b983d083b.tar.gz yuzu-d261e77c168c3a933458fd1fbfecbc1b983d083b.tar.xz yuzu-d261e77c168c3a933458fd1fbfecbc1b983d083b.zip | |
Travis: Try to cache downloaded files to work around sf.net sucking
| -rw-r--r-- | .travis-deps.sh | 2 | ||||
| -rw-r--r-- | .travis.yml | 5 |
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 | |||
| 20 | curl http://www.cmake.org/files/v2.8/cmake-2.8.11-Linux-i386.tar.gz \ | 20 | curl http://www.cmake.org/files/v2.8/cmake-2.8.11-Linux-i386.tar.gz \ |
| 21 | | sudo tar -xz -C /usr/local --strip-components=1 | 21 | | sudo tar -xz -C /usr/local --strip-components=1 |
| 22 | elif [ "$TRAVIS_OS_NAME" = osx ]; then | 22 | elif [ "$TRAVIS_OS_NAME" = osx ]; then |
| 23 | export HOMEBREW_CACHE="$PWD/.homebrew-cache" | ||
| 24 | mkdir -p "$HOMEBREW_CACHE" | ||
| 23 | brew tap homebrew/versions | 25 | brew tap homebrew/versions |
| 24 | brew install qt5 glfw3 pkgconfig | 26 | brew install qt5 glfw3 pkgconfig |
| 25 | fi | 27 | fi |
diff --git a/.travis.yml b/.travis.yml index fa60efaa3..8c5aceb7c 100644 --- a/.travis.yml +++ b/.travis.yml | |||
| @@ -4,7 +4,10 @@ os: | |||
| 4 | 4 | ||
| 5 | language: cpp | 5 | language: cpp |
| 6 | 6 | ||
| 7 | cache: apt | 7 | cache: |
| 8 | apt: true | ||
| 9 | directories: | ||
| 10 | - .homebrew-cache | ||
| 8 | 11 | ||
| 9 | before_install: | 12 | before_install: |
| 10 | - sh .travis-deps.sh | 13 | - sh .travis-deps.sh |