Attempt to fix traivs build
@@ -7,6 +7,9 @@ android:
- build-tools-25.0.2
- android-25
- extra-android-m2repository
+ licenses:
+ - android-sdk-license-.+
+ - '.+'
after_success:
- .buildscript/deploy_snapshot.sh
@@ -28,3 +31,9 @@ sudo: false
cache:
directories:
- $HOME/.m2
+
+
+before_install:
+ - mkdir "$ANDROID_HOME/licenses" || true
+ - echo -e "\n8933bad161af4178b1185d1a37fbf41ea5269c55" > "$ANDROID_HOME/licenses/android-sdk-license"
+ - echo -e "\n84831b9409646a918e30573bab4c9c91346d8abd" > "$ANDROID_HOME/licenses/android-sdk-preview-license"
