From c7f0586eb19f4acf47ff67da1c3b49161c185e08 Mon Sep 17 00:00:00 2001 From: Joffrey BION Date: Thu, 8 Dec 2016 02:16:52 +0100 Subject: Add Travis CI config --- .travis.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .travis.yml (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..6b05616f --- /dev/null +++ b/.travis.yml @@ -0,0 +1,20 @@ +language: java + +matrix: + include: + - os: linux + jdk: oraclejdk8 # The default JDK is 7 if unspecified, and we need 8 + - os: osx + osx_image: xcode8 # other OSX images can't switch to JDK8, this one has it built-in + +# These files change at every build, and should not be cached +# https://docs.travis-ci.com/user/languages/java/#Caching +before_cache: + - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock + - rm -fr $HOME/.gradle/caches/*/plugin-resolution/ + +# Cache Gradle's dependencies and wrapper download +cache: + directories: + - $HOME/.gradle/caches/ + - $HOME/.gradle/wrapper/ \ No newline at end of file -- cgit