summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorStefano Pigozzi <stefano.pigozzi@gmail.com>2013-05-20 09:09:02 +0200
committerStefano Pigozzi <stefano.pigozzi@gmail.com>2013-05-20 09:09:02 +0200
commit89fc8326b9add4be88fd171a42e994c880dac73c (patch)
tree428098c98b672153eda0c18e2763102351afada2 /.travis.yml
parent5589412b3c37315e13ec95202c6a78fc0760a220 (diff)
downloadmpv-89fc8326b9add4be88fd171a42e994c880dac73c.tar.bz2
mpv-89fc8326b9add4be88fd171a42e994c880dac73c.tar.xz
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).
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml12
1 files 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: &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