From d8151e7b037eb191d53362cb8db020095aed8daa Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Mon, 20 Apr 2015 11:24:23 +0100 Subject: [PATCH] Add configuration for building on Travis CI This commit adds the necessary configuration to build the project on Travis CI. First, the main project is built using Java 7 then the samples are built using Java 8. Closes gh-58 --- .travis.yml | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..43bb5feb --- /dev/null +++ b/.travis.yml @@ -0,0 +1,6 @@ +language: java +script: + - jdk_switcher use oraclejdk7 + - "./gradlew build" + - jdk_switcher use oraclejdk8 + - "./gradlew buildSamples" \ No newline at end of file