aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml9
1 files changed, 9 insertions, 0 deletions
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