Bug 1269304 - Push build failures to IRC, r=franziskus
authorMartin Thomson <martin.thomson@gmail.com>
Tue, 03 May 2016 10:26:22 +1000
changeset 12140 04835efdd1b6bb1f6adeecb5126c419e9b60058f
parent 12139 bc6d0f4b167be0beb902bf66690e57d33475637f
child 12141 b3981e62834c24a22729f07be17aa352e098e83b
push id1193
push usermartin.thomson@gmail.com
push dateTue, 03 May 2016 05:36:30 +0000
reviewersfranziskus
bugs1269304
Bug 1269304 - Push build failures to IRC, r=franziskus
.travis.yml
--- a/.travis.yml
+++ b/.travis.yml
@@ -51,15 +51,26 @@ matrix:
     - env: CLANG_FORMAT=1
 
 env:
   global:
     - USE_64=1
     - NSS_ENABLE_TLS_1_3=1
 
 install:
+  - if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew update; brew install llvm38; fi
+
+before_script:
   - hg clone https://hg.mozilla.org/projects/nspr ../nspr
-  - if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew update; brew install llvm38; fi
 
 script:
   - if [ -n "$CLANG_FORMAT" ]; then automation/travis/validate-formatting.sh lib/ssl; exit $?; fi
   - make nss_build_all
   - cd tests; NSS_TESTS="ssl_gtests pk11_gtests der_gtests util_gtests" NSS_CYCLES=standard ./all.sh
+
+notifications:
+  irc:
+    channels:
+      - "irc.mozilla.org#nssbot"
+          - "ircs://irc.mozilla.org:6697/#nssbot"
+    nick: travisci
+    on_success: change
+    on_failure: always