From 52e53f30c0081d8f35213a2a410784354a61af66 Mon Sep 17 00:00:00 2001 From: Mohamed Zenadi Date: Fri, 28 Jul 2017 16:43:23 +0100 Subject: [PATCH] fix travis build --- .travis.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.travis.yml b/.travis.yml index 89f9931d..f1a91a7c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -23,5 +23,8 @@ install: env: - GRADLE_OPTS="-Xms40m -Xmx3g -XX:MaxPermSize=3g" + - mkdir "$ANDROID_HOME/licenses" || true + - echo -e "\n8933bad161af4178b1185d1a37fbf41ea5269c55" > "$ANDROID_HOME/licenses/android-sdk-license" + - echo -e "\n84831b9409646a918e30573bab4c9c91346d8abd" > "$ANDROID_HOME/licenses/android-sdk-preview-license" script: "./gradlew clean build test lintDebug -Dpre-dex=false"