diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..ce941fb --- /dev/null +++ b/.travis.yml @@ -0,0 +1,31 @@ +language: android + +jdk: + - oraclejdk8 + +android: + components: + - tools + - platform-tools + - build-tools-28.0.3 + - android-28 + - extra-google-m2repository + - extra-android-m2repository + +sudo: false + +before_script: + - chmod +x gradlew + +script: + - ./gradlew --no-daemon build + +before_cache: + - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock + - rm -fr $HOME/.gradle/caches/*/plugin-resolution/ + +cache: + directories: + - $HOME/.gradle/caches/ + - $HOME/.gradle/wrapper/ + - $HOME/.android/build-cache \ No newline at end of file