summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoffrey BION <joffrey.bion@gmail.com>2016-12-08 02:16:52 +0100
committerJoffrey BION <joffrey.bion@gmail.com>2016-12-08 02:33:23 +0100
commitc7f0586eb19f4acf47ff67da1c3b49161c185e08 (patch)
tree6b32525214dbcece8116e21613c07c119dd3c506
parentUpdate README with disclaimer on rights (diff)
downloadseven-wonders-c7f0586eb19f4acf47ff67da1c3b49161c185e08.tar.gz
seven-wonders-c7f0586eb19f4acf47ff67da1c3b49161c185e08.tar.bz2
seven-wonders-c7f0586eb19f4acf47ff67da1c3b49161c185e08.zip
Add Travis CI config
-rw-r--r--.travis.yml20
-rw-r--r--README.md5
2 files changed, 24 insertions, 1 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
diff --git a/README.md b/README.md
index b547253b..7cf9d37b 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,8 @@
# Seven Wonders Online
+[![Travis Build](https://img.shields.io/travis/luxons/seven-wonders/master.svg)](https://travis-ci.org/joffrey-bion/fx-log)
+[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/luxons/seven-wonders/blob/master/LICENSE)
+
An digital version of the famous 7 Wonders board game.
-We do not own the rights on the Seven Wonder game concept and rules, nor on the assets used here.
+We do not own the rights on the Seven Wonder game concept and rules, nor on the assets used here.
bgstack15