From 89fc8326b9add4be88fd171a42e994c880dac73c Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Mon, 20 May 2013 09:09:02 +0200 Subject: travis: DRY up the yaml file Use YAML's anchor/reference syntax to DRY up the YAML file. Also fix a bug that caused the IRC notification to always take place (even on success). --- .travis.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index cd5a9d4262..e6f3c8cf3e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,16 +14,16 @@ branches: before_install: ./travis-deps libass-stable $LIBAV script: ./configure && make +notifications-policy: ¬ifications-policy + on_success: change + n_failure: always + notifications: email: recipients: - mpv-team@googlegroups.com - email: - on_success: change - n_failure: always + <<: *notifications-policy irc: channels: - "irc.freenode.org#mpv-player-dev" - email: - on_success: change - n_failure: always + <<: *notifications-policy -- cgit v1.2.3