aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2016-11-16 07:44:37 +0800
committerFelix Lange <fjl@twurst.com>2016-11-16 07:44:37 +0800
commit5a3853f83f931b6a68353cb1f3611f1db345e340 (patch)
tree34f10388283f2cbc91999573d6130f8d4ed1b376 /.travis.yml
parent532d74603686410e4b614e6250e41336d69954f2 (diff)
downloaddexon-5a3853f83f931b6a68353cb1f3611f1db345e340.tar.gz
dexon-5a3853f83f931b6a68353cb1f3611f1db345e340.tar.zst
dexon-5a3853f83f931b6a68353cb1f3611f1db345e340.zip
travis: only install the needed three android platforms (#3274)
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 4eda6d49b..b52548247 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -75,7 +75,7 @@ matrix:
- mkdir -p $ANDROID_HOME/platforms
- mv -f $HOME/.android.platforms $ANDROID_HOME/platforms
- - echo "y" | android update sdk --no-ui --filter platform
+ - 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