From 5a3853f83f931b6a68353cb1f3611f1db345e340 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A9ter=20Szil=C3=A1gyi?= Date: Wed, 16 Nov 2016 01:44:37 +0200 Subject: [PATCH] travis: only install the needed three android platforms (#3274) --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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