File tree Expand file tree Collapse file tree 1 file changed +8
-15
lines changed
Expand file tree Collapse file tree 1 file changed +8
-15
lines changed Original file line number Diff line number Diff line change @@ -7,11 +7,6 @@ sudo: required
77dist : trusty
88
99env :
10- global :
11- # Notice global environment variables are available during the install phase for android >
12- # components. These are the only variables that can be used in that section
13- - SDK_API=P
14- - BUILD_TOOLS_VERSION=26.0.2
1510 matrix :
1611 # Notice matrix environment variables are not available during the install phase for android >
1712 # components.
@@ -33,16 +28,14 @@ cache:
3328
3429android :
3530 components :
36- - tools # to get the new `repository-11.xml`
37- - platform-tools # latest
38- - tools # to install Android SDK tools 25+, latest, cannot get more granular control than this
39- # See https://github.com/travis-ci/travis-ci/issues/6040#issuecomment-219367943 for more
40- # details.
41- - build-tools-$BUILD_TOOLS_VERSION
42- - android-$SDK_API
43-
44- licenses :
45- - ' android-sdk-license-.+'
31+ # https://github.com/travis-ci/travis-ci/issues/6040#issuecomment-219367943
32+ - tools
33+ - tools
34+
35+ before_install :
36+ - mkdir "$ANDROID_HOME/licenses" || true
37+ - echo -e "\n8933bad161af4178b1185d1a37fbf41ea5269c55\nd56f5187479451eabf01fb78af6dfcb131a6481e" > "$ANDROID_HOME/licenses/android-sdk-license"
38+ - echo -e "\n84831b9409646a918e30573bab4c9c91346d8abd\n504667f4c0de7af1a06de9f4b1727b84351f2910" > "$ANDROID_HOME/licenses/android-sdk-preview-license"
4639
4740before_script :
4841 - ./travis_before_script.sh
You can’t perform that action at this time.
0 commit comments