From 4d8f0b570bc7d738b06c978add24bb87eaf6cb77 Mon Sep 17 00:00:00 2001 From: Jenly Date: Wed, 18 Jul 2018 13:07:00 +0800 Subject: [PATCH] CI --- .travis.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..efc472d --- /dev/null +++ b/.travis.yml @@ -0,0 +1,29 @@ +language: android +jdk: oraclejdk8 +before_install: +- yes | sdkmanager "platforms;android-27" + +env: + global: + - ANDROID_API_LEVEL=27 + - ANDROID_BUILD_TOOLS_VERSION=27.0.3 + - TRAVIS_SECURE_ENV_VARS=true + +android: + components: + # The BuildTools version used by your project + - tools + - platform-tools + - build-tools-$ANDROID_BUILD_TOOLS_VERSION + - extra-android-m2repository + - extra-google-android-support + + # The SDK version used to compile your project + - android-$ANDROID_API_LEVEL + licenses: + - '.+' + +script: + - ./gradlew clean +# - ./gradlew bintrayUpload + - ./gradlew assembleDebug \ No newline at end of file