fix travis build

This commit is contained in:
Mohamed Zenadi 2017-07-28 16:43:23 +01:00 committed by Mohamed Zenadi
parent c3eb4f0a41
commit 52e53f30c0

View file

@ -23,5 +23,8 @@ install:
env: env:
- GRADLE_OPTS="-Xms40m -Xmx3g -XX:MaxPermSize=3g" - 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" script: "./gradlew clean build test lintDebug -Dpre-dex=false"