From 1e37c71fb0698cba0ac12eb97fee737ed95e1c92 Mon Sep 17 00:00:00 2001 From: Eugene Date: Tue, 4 Aug 2015 22:46:01 +0300 Subject: [PATCH] Added Gitter integration --- .travis.yml | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 7c09669..bdcc3e3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,13 +5,21 @@ before_install: - sudo apt-get update -y - sudo apt-get install -y python-software-properties build-essential - sudo apt-get install -y libgd2-xpm ia32-libs ia32-libs-multiarch - -after_success: - - bash <(curl -s https://codecov.io/bash) - + env: global: - APP_VERSION=$(mvn -q -Dexec.executable="echo" -Dexec.args='${project.version}' --non-recursive org.codehaus.mojo:exec-maven-plugin:1.4.0:exec) + +notifications: + webhooks: + urls: + - https://webhooks.gitter.im/e/19792f1aab7f7585c739 + on_success: change # options: [always|never|change] default: always + on_failure: always # options: [always|never|change] default: always + on_start: false # default: false + +after_success: + - bash <(curl -s https://codecov.io/bash) deploy: provider: releases @@ -20,4 +28,4 @@ deploy: - "poker-helper-gui/dist/poker-helper-gui-$APP_VERSION-bin.zip" skip_cleanup: true on: - tags: true \ No newline at end of file + tags: true