From 17c183165fb52c3128075978fc7fbdc90ec7b000 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..0b08d14 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,24 @@ +sudo: required +dist: trusty +language: java + +jdk: + - oraclejdk8 + +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