From 6b6fb7f7d08469f3838a6bce8c27557e39ea4759 Mon Sep 17 00:00:00 2001 From: Riccardo Spagni Date: Wed, 20 Jul 2016 14:50:44 +0200 Subject: [PATCH 1/3] add IRC notifications to travis --- .travis.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.travis.yml b/.travis.yml index 2026cba5f..9f4b7d3d4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -26,3 +26,9 @@ addons: script: make -j2 && HAVE_DOT=YES doxygen Doxyfile notifications: email: false + irc: + channels: + - "chat.freenode.net#monero-dev" + nick: monero + template: + - "%{repository}#%{build_number} (%{commit} : %{author}) | Build details : %{build_url}" From 2a8352db2e95867a0cbe1e2dfd53aba9f7d15205 Mon Sep 17 00:00:00 2001 From: Riccardo Spagni Date: Sat, 23 Jul 2016 09:05:30 +0200 Subject: [PATCH 2/3] only alert on IRC when the status changes --- .travis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index 9f4b7d3d4..2126d7472 100644 --- a/.travis.yml +++ b/.travis.yml @@ -27,6 +27,8 @@ script: make -j2 && HAVE_DOT=YES doxygen Doxyfile notifications: email: false irc: + on_success: change + on_failure: change channels: - "chat.freenode.net#monero-dev" nick: monero From ca33ce6458aa6231de67e6ab6a95335c00f8313a Mon Sep 17 00:00:00 2001 From: Riccardo Spagni Date: Sat, 23 Jul 2016 09:09:40 +0200 Subject: [PATCH 3/3] include result in the notifications template --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 2126d7472..ba4df1cc9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -33,4 +33,4 @@ notifications: - "chat.freenode.net#monero-dev" nick: monero template: - - "%{repository}#%{build_number} (%{commit} : %{author}) | Build details : %{build_url}" + - "%{result} | %{repository}#%{build_number} (%{commit} : %{author}) | Build details : %{build_url}"