aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2016-11-11 18:06:24 +0800
committerPéter Szilágyi <peterke@gmail.com>2016-11-15 00:00:14 +0800
commit4c16c82500645de83907743555e7256af86a9423 (patch)
tree4bc49bef2a01eb9cbb8d745b91b27719ab424a1b /.travis.yml
parent5513c49c54f42ce6a9683b4fad9193b361b47f8c (diff)
downloadgo-tangerine-4c16c82500645de83907743555e7256af86a9423.tar
go-tangerine-4c16c82500645de83907743555e7256af86a9423.tar.gz
go-tangerine-4c16c82500645de83907743555e7256af86a9423.tar.bz2
go-tangerine-4c16c82500645de83907743555e7256af86a9423.tar.lz
go-tangerine-4c16c82500645de83907743555e7256af86a9423.tar.xz
go-tangerine-4c16c82500645de83907743555e7256af86a9423.tar.zst
go-tangerine-4c16c82500645de83907743555e7256af86a9423.zip
travis, build: cocoapods build fixes and travis caches
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