From 7334a5015a5a80dcae71bbf6221f81140663ee85 Mon Sep 17 00:00:00 2001 From: liujiahua123123 Date: Sun, 15 Dec 2019 15:49:32 +0800 Subject: [PATCH] travis --- .travis.yml | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index 280d43a0f..89c915cf4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,21 +8,26 @@ dist: trusty android: components: - - build-tools-26 - - android-26 - - extra + - tools + - platform-tools + - tools + - extra-android-m2repository licenses: + - '.+' + - 'android-sdk-preview-license-52d11cd2' - 'android-sdk-license-.+' - 'google-gdk-license-.+' - - 'android-sdk-preview-license-.+' - - 'android-sdk-preview-license-52d11cd2' - -install: true before_script: - chmod +x gradlew + +before_install: + - touch $HOME/.android/repositories.cfg + - yes | sdkmanager "platforms;android-28" + - yes | sdkmanager "build-tools;28.0.3" + script: - ./gradlew clean build -i --continue