From 0b2c24d59b17c5bcbc86223666076136b9cf021c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A9ter=20Szil=C3=A1gyi?= Date: Tue, 15 Nov 2016 23:27:40 +0200 Subject: [PATCH] travis: only install the needed three android platforms --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 4eda6d49b8..b525482472 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