From 5572886fdcff90aef70f6d086488d067a64ac02d Mon Sep 17 00:00:00 2001 From: Abhishek Mendhekar Date: Fri, 8 Mar 2019 13:11:51 -0800 Subject: [PATCH] add travis yaml for CI build --- .travis.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..204363b --- /dev/null +++ b/.travis.yml @@ -0,0 +1,24 @@ +sudo: required +dist: trusty +language: java + +jdk: + - oracle + +before_install: + - gradle wrapper + +install: true + +script: + - ./gradlew clean build + +before_cache: + - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock + - rm -fr $HOME/.gradle/caches/*/plugin-resolution/ + +cache: + directories: + - "$HOME/.m2/repository" + - "$HOME/.gradle/caches/" + - "$HOME/.gradle/wrapper/" \ No newline at end of file