diff options
author | Péter Szilágyi <peterke@gmail.com> | 2016-11-17 23:15:17 +0800 |
---|---|---|
committer | Jeffrey Wilcke <jeffrey@ethereum.org> | 2016-11-17 23:15:17 +0800 |
commit | f3228592f5df27fb4ad7ae4b77a30878c6366bd5 (patch) | |
tree | d3a69781740b269038dcd3994c8c77da4a5b19c0 /.travis.yml | |
parent | 87b8254da1ef9ffff7ebdbea6e03e5e843317eb7 (diff) | |
download | dexon-f3228592f5df27fb4ad7ae4b77a30878c6366bd5.tar.gz dexon-f3228592f5df27fb4ad7ae4b77a30878c6366bd5.tar.zst dexon-f3228592f5df27fb4ad7ae4b77a30878c6366bd5.zip |
travis: dash of black magic to summon the cache daemon (#3288)
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/.travis.yml b/.travis.yml index b52548247..87725251b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -59,10 +59,6 @@ matrix: env: - azure-osx - mobile - cache: - directories: - - $HOME/.android.platforms - - $HOME/.cocoapods script: - go run build/ci.go install - go run build/ci.go archive -type tar -signer OSX_SIGNING_KEY -upload gethstore/builds @@ -71,21 +67,24 @@ matrix: - brew update - brew install android-sdk maven gpg - alias gpg="gpg2" - - export ANDROID_HOME=/usr/local/opt/android-sdk - - mkdir -p $ANDROID_HOME/platforms - - mv -f $HOME/.android.platforms $ANDROID_HOME/platforms + - export ANDROID_HOME=/usr/local/opt/android-sdk - echo "y" | android update sdk --no-ui --filter `android list sdk | grep "SDK Platform Android" | grep -E 'API 15|API 19|API 24' | awk '{print $1}' | cut -d '-' -f 1 | tr '\n' ','` - go run build/ci.go aar -signer ANDROID_SIGNING_KEY -deploy https://oss.sonatype.org -upload gethstore/builds - - mv -f $ANDROID_HOME/platforms $HOME/.android.platforms # Build the iOS framework and upload it to CocoaPods and Azure - gem uninstall cocoapods -a - gem install cocoapods --pre + + - mv ~/.cocoapods/repos/master ~/.cocoapods/repos/master.bak + - sed -i '.bak' 's/repo.join/!repo.join/g' $(dirname `gem which cocoapods`)/cocoapods/sources_manager.rb + - if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then git clone --depth=1 https://github.com/CocoaPods/Specs.git ~/.cocoapods/repos/master && pod setup --verbose; fi + - xctool -version - xcrun simctl list - - travis_wait 30 go run build/ci.go xcode -signer IOS_SIGNING_KEY -deploy trunk -upload gethstore/builds + + - go run build/ci.go xcode -signer IOS_SIGNING_KEY -deploy trunk -upload gethstore/builds install: - go get golang.org/x/tools/cmd/cover |