travis: only install the needed three android platforms (#3274)

pull/3278/head
Péter Szilágyi 8 years ago committed by Felix Lange
parent 532d746036
commit 5a3853f83f
  1. 2
      .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

Loading…
Cancel
Save