From c55cd5342eaccf0be42f1bfcf2a052a910724eec Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Wed, 11 Nov 2020 12:12:26 +0600 Subject: [PATCH] update travis trying to manually install packages in travis --- .travis.yml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 4e6ca513487..ad4e33ee280 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,10 +1,23 @@ -language: java +language: android install: true os: linux dist: trusty jdk: oraclejdk8 +android: + components: + - tools + - platform-tools + - build-tools-30.0.2 + - android-30 + - add-on + - extra + +before_script: + - yes | /usr/local/android-sdk/tools/bin/sdkmanager "build-tools;30.0.2" + - yes | /usr/local/android-sdk/tools/bin/sdkmanager "platforms;android-30" + jobs: include: - stage: build