No bug - Stop travis IRC spam from user forks. r=Callek
authorRail Aliiev <rail@mozilla.com>
Wed, 22 Jul 2015 09:10:04 -0400
changeset 5939 4308d4636a6bdd446593d40a768adc4e0b83475c
parent 5938 7e1127a34df24f4c56701ac6ecde71a9da9ba198
child 5940 8ff1afeae3745c2594c6ed7495f5f855a3f9d4c5
push id4426
push userraliiev@mozilla.com
push dateWed, 22 Jul 2015 13:10:13 +0000
reviewersCallek
No bug - Stop travis IRC spam from user forks. r=Callek
.travis.yml
--- a/.travis.yml
+++ b/.travis.yml
@@ -29,22 +29,20 @@ install:
 script:
   - tox -e $TOX_ENV
   # Remove logs to avoid cache uploads
   - rm -rf $HOME/.cache/pip/log
 
 after_script:
   - tox -e py27-coveralls
 
-# currently cannot customise per user fork, see:
-# https://github.com/travis-ci/travis-ci/issues/1094
-# please comment out this section in your personal fork!
+# The channel name "irc.mozilla.org#releng" is encrypted against mozilla/build-tools to prevent IRC spam of forks
 notifications:
   irc:
     channels:
-      - "irc.mozilla.org#releng"
+      - secure: VStaKCWB7rIbCJEb5hh0sGmtMxTCvm9s4WN3H00BTeNJ7DGQNP4o7b7dN637o80RzVOEE22yMMw2e4fn4wAtqG1A+0DKtcrr6KtOislDmXnex37pi90qP0I8yNEAyh7NzhGNP5u7/HP1VSwI7mgMEOyMHYa5lX7KijABcAnBybU=
     on_success: always
     on_failure: always
     template:
       - "\x02%{repository}\x0314#%{build_number}\x03\x02 (%{branch} - %{commit} : %{author}): \x02\x0312%{message}\x02\x03"
       - "\x02Change view\x02 : \x0314%{compare_url}\x03"
       - "\x02Build details\x02 : \x0314%{build_url}\x03"
       - "\x02Commit message\x02 : \x0314%{commit_message}\x03"