From 4c16c82500645de83907743555e7256af86a9423 Mon Sep 17 00:00:00 2001 From: Péter Szilágyi Date: Fri, 11 Nov 2016 12:06:24 +0200 Subject: travis, build: cocoapods build fixes and travis caches --- .travis.yml | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index c9b8b5025..c93b57907 100644 --- a/.travis.yml +++ b/.travis.yml @@ -59,6 +59,10 @@ 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,8 +75,13 @@ matrix: - brew update - brew install android-sdk maven - export ANDROID_HOME=/usr/local/opt/android-sdk + + - mkdir -p $ANDROID_HOME/platforms + - mv -f $HOME/.android.platforms $ANDROID_HOME/platforms - echo "y" | android update sdk --no-ui --filter platform + - 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 install: - go get golang.org/x/tools/cmd/cover -- cgit