diff options
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 20 |
1 files changed, 20 insertions, 0 deletions
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 |