summary refs log tree commit diff
path: root/.travis.yml
diff options
context:
space:
mode:
authorJoachim Fasting <joachifm@fastmail.fm>2017-03-15 02:37:10 +0100
committerJoachim Fasting <joachifm@fastmail.fm>2017-03-15 02:41:02 +0100
commit541b3ec1bc9357fd5c2ff9bcd96a82920f3316c1 (patch)
treeecfeb17a025dde0a6ef4acc6fef66aa632269ff1 /.travis.yml
parentf5ccf24028982048f7ca55581435944494653a4a (diff)
downloadnixpkgs-541b3ec1bc9357fd5c2ff9bcd96a82920f3316c1.tar
nixpkgs-541b3ec1bc9357fd5c2ff9bcd96a82920f3316c1.tar.gz
nixpkgs-541b3ec1bc9357fd5c2ff9bcd96a82920f3316c1.tar.bz2
nixpkgs-541b3ec1bc9357fd5c2ff9bcd96a82920f3316c1.tar.lz
nixpkgs-541b3ec1bc9357fd5c2ff9bcd96a82920f3316c1.tar.xz
nixpkgs-541b3ec1bc9357fd5c2ff9bcd96a82920f3316c1.tar.zst
nixpkgs-541b3ec1bc9357fd5c2ff9bcd96a82920f3316c1.zip
travis: send emails iff commit caused the build to start failing
This setting should ensure that email notifications are sent
*only* when the commit caused the build to start failing.  That
is, no more "the build is still failing" spam.

As an alternative we could consider disabling email
notifications outright and possibly enable IRC notifications
instead.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 802af69834d..bed82810d46 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -18,3 +18,8 @@ matrix:
 env:
     global:
         - GITHUB_TOKEN=5edaaf1017f691ed34e7f80878f8f5fbd071603f
+
+notifications:
+    email:
+        on_success: never
+        on_failure: change