Skip to content

Commit

Permalink
Attempt to cache the downloads
Browse files Browse the repository at this point in the history
  • Loading branch information
martin308 committed Jul 2, 2018
1 parent 8cc1da1 commit c23bdcc
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,22 @@ cache:
- $HOME/.gradle/wrapper/
- $HOME/.android/build-cache
- $HOME/Library/Caches/Homebrew
- $DOWNLOADS_DIR
env:
global:
- TERM=dumb
- ANDROID_HOME=/usr/local/share/android-sdk
- MONO_URL="https://download.mono-project.com/archive/5.12.0/macos-10-universal/MonoFramework-MDK-5.12.0.226.macos10.xamarin.universal.pkg"
- UNITY_URL="https://download.unity3d.com/download_unity/21ae32b5a9cb/MacEditorInstaller/Unity-2017.4.3f1.pkg"
- DOWNLOADS_DIR=$HOME/downloads
install:
- brew tap caskroom/cask
- brew cask install android-sdk
- yes | sdkmanager "platforms;android-27"
- yes | sdkmanager --licenses
- curl -o Mono.pkg $MONO_URL & curl -o Unity.pkg $UNITY_URL & wait
- sudo installer -dumplog -package Mono.pkg -target /
- curl -o $DOWNLOADS_DIR/Mono.pkg $MONO_URL & curl -o $DOWNLOADS_DIR/Unity.pkg $UNITY_URL & wait
- sudo installer -dumplog -package $DOWNLOADS_DIR/Mono.pkg -target /
- export PATH="$PATH:/Library/Frameworks/Mono.framework/Versions/Current/Commands"
- sudo installer -dumplog -package Unity.pkg -target /
- sudo installer -dumplog -package $DOWNLOADS_DIR/Unity.pkg -target /
- bundle install
script: bundle exec rake

0 comments on commit c23bdcc

Please sign in to comment.