From 7d44539b91ff60c8f19e9fb83ff22e5bf5740686 Mon Sep 17 00:00:00 2001 From: Nikky Ai Date: Wed, 24 Jan 2018 15:40:38 +0100 Subject: [PATCH] add travis.yml and travis badge --- .travis.yml | 27 +++++++++++++++++++++++++++ README.md | 3 +++ 2 files changed, 30 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..9f90b97 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,27 @@ +language: java +jdk: + - openjdk8 + +before_install: + - chmod +x gradlew + +install: ./gradlew setupCIWorkspace -S +script: ./gradlew build -S + +notifications: + email: false + irc: + channels: + - "irc.esper.net#ruby" + template: + - "%{repository}#%{build_number} (%{branch} - %{commit} : %{commit_message} by %{author}): %{message} Details: %{build_url} Changes: %{compare_url}" + use_notice: true + # nick: travis-ci + +before_cache: + - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock + - rm -fr $HOME/.gradle/caches/*/plugin-resolution/ +cache: + directories: + - $HOME/.gradle/caches/ + - $HOME/.gradle/wrapper/ \ No newline at end of file diff --git a/README.md b/README.md index 157cd43..ab59464 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,5 @@ # CivilEngineering + +[![Build Status](https://travis-ci.org/NikkyAI/CivilEngineering.svg?branch=master)](https://travis-ci.org/NikkyAI/CivilEngineering) + matterbridge for MC servers