diff options
author | Joffrey BION <joffrey.bion@gmail.com> | 2016-12-08 02:16:52 +0100 |
---|---|---|
committer | Joffrey BION <joffrey.bion@gmail.com> | 2016-12-08 02:33:23 +0100 |
commit | c7f0586eb19f4acf47ff67da1c3b49161c185e08 (patch) | |
tree | 6b32525214dbcece8116e21613c07c119dd3c506 /.travis.yml | |
parent | Update README with disclaimer on rights (diff) | |
download | seven-wonders-c7f0586eb19f4acf47ff67da1c3b49161c185e08.tar.gz seven-wonders-c7f0586eb19f4acf47ff67da1c3b49161c185e08.tar.bz2 seven-wonders-c7f0586eb19f4acf47ff67da1c3b49161c185e08.zip |
Add Travis CI config
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 |