Skip to content

Commit 1a6f14b

Browse files
authored
Accept android licenses (#968)
1 parent ccc8a33 commit 1a6f14b

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

.travis.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,14 @@ cache:
1010
- $HOME/.gradle/caches/
1111
- $HOME/.gradle/wrapper/
1212
- $HOME/.android/build-cache
13-
before_install:
14-
- mkdir "$ANDROID_HOME/licenses" || true
15-
- echo -e "\n8933bad161af4178b1185d1a37fbf41ea5269c55" > "$ANDROID_HOME/licenses/android-sdk-license"
16-
- echo -e "\n84831b9409646a918e30573bab4c9c91346d8abd" > "$ANDROID_HOME/licenses/android-sdk-preview-license"
1713
android:
1814
components:
1915
# https://github.com/travis-ci/travis-ci/issues/6040#issuecomment-219367943
2016
- tools
2117
- tools
2218
before_script:
2319
- mv library/google-services.json app/google-services.json
24-
- ${ANDROID_HOME}tools/bin/sdkmanager --channel=3 "tools" "platform-tools" "build-tools;26.0.1" "platforms;android-26" "extras;google;m2repository"
20+
- echo y | ${ANDROID_HOME}tools/bin/sdkmanager --channel=3 "tools" "platform-tools" "build-tools;26.0.1" "platforms;android-26" "extras;google;m2repository"
2521
script: ./gradlew clean assembleDebug check
2622
after_failure:
2723
# tests

0 commit comments

Comments
 (0)