From f500895aa636f01fbfaf6e6313e62b26f15250c0 Mon Sep 17 00:00:00 2001 From: Jakob Nixdorf Date: Wed, 5 Jul 2017 14:32:37 +0200 Subject: [PATCH] Enable Travis CI --- .travis.yml | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/.travis.yml b/.travis.yml index 262eb138..1d6f124e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,22 +1,24 @@ language: android + android: components: - # Uncomment the lines below if you want to - # use the latest revision of Android SDK Tools - #- platform-tools + - tools + - platform-tools - tools - # The BuildTools version used by your project - - build-tools-23.0.2 + - build-tools-25.0.3 + - android-25 - # The SDK version used to compile your project - - android-23 - - # Additional components - - extra-google-google_play_services - extra-google-m2repository - extra-android-m2repository - - addon-google_apis-google-23 + +jdk: + - oraclejdk8 + +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" script: - ./gradlew build