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).
This commit is contained in:
Stefano Pigozzi 2013-05-20 09:09:02 +02:00
parent 5589412b3c
commit 89fc8326b9
1 changed files with 6 additions and 6 deletions

View File

@ -14,16 +14,16 @@ branches:
before_install: ./travis-deps libass-stable $LIBAV
script: ./configure && make
notifications-policy: &notifications-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