Skip to content

Commit

Permalink
Only download if the files don't exits
Browse files Browse the repository at this point in the history
  • Loading branch information
martin308 committed Jul 2, 2018
1 parent c23bdcc commit 59d4de9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ install:
- brew cask install android-sdk
- yes | sdkmanager "platforms;android-27"
- yes | sdkmanager --licenses
- curl -o $DOWNLOADS_DIR/Mono.pkg $MONO_URL & curl -o $DOWNLOADS_DIR/Unity.pkg $UNITY_URL & wait
- ([[ ! -e $DOWNLOADS_DIR/Mono.pkg ]] && curl -o $DOWNLOADS_DIR/Mono.pkg $MONO_URL) & ([[ ! -e $DOWNLOADS_DIR/Unity.pkg ]] && 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 $DOWNLOADS_DIR/Unity.pkg -target /
Expand Down

0 comments on commit 59d4de9

Please sign in to comment.