[monitoring-plugins] travis-ci: Use environment variables for ...

Jan Wagner git at monitoring-plugins.org
Tue Nov 29 12:10:11 CET 2016


 Module: monitoring-plugins
 Branch: travis_notification
 Commit: e1225608320c1f28b80feadc5b50a59821996dfc
 Author: Jan Wagner <waja at cyconet.org>
   Date: Tue Nov 29 11:50:54 2016 +0100
    URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=e122560

travis-ci: Use environment variables for notification

---

 .travis.yml | 13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index a03a957..1d77923 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -19,7 +19,8 @@ matrix:
           project:
             name: "monitoring-plugins/monitoring-plugins"
             description: "Monitoring Plugins"
-          notification_email: team at monitoring-plugins.org
+          # Prevent spamming by forks using an environment variable
+          notification_email: "$NOTIFICATION_EMAIL01"
           build_command_prepend: tools/setup && ./configure
           build_command: make
           branch_pattern: coverity.*
@@ -79,14 +80,12 @@ script:
 notifications:
   irc:
     channels:
-      # Prevent spamming by forks using a secret
-      # - "chat.freenode.net#Monitoring-Plugins"
-      - secure: "I9SBZ/C6kY//SyfKkoZklGCZrkTKgJSQ0hWMOHoouys3C3/pk8IDsbBc6H+81vvXNwaVioLM/jVFp8xoZfLZ3ZAVwS640G7sjtqhs2XRx3JvkAZ9f8hy3ke978vaFRZzl8oZkRPx37aJA5gh838RmPMqOE3VvAv72CObhWwHSDk="
+      # Prevent spamming by forks using an environment variable
+      - "$NOTIFICATION_IRC_CHANNEL01"
     on_success: change
     on_failure: always
     skip_join: true
   email:
-    # Prevent spamming by forks using a secret
-    # - team at monitoring-plugins.org
-    # - secure: "DWMj57rE5H1doMVqDGci2nSQc0+H7OeGFEAJW8NwFoUfNL8Wb6/BmVVbHpdJNeptec13Tir8Fh/TJkpE9C2C6sCMiFLqTDv3+7s9xU3TvWxoudCRlOG26bIjgQYGs+m3YKYMsZ9azmHYw9Y/MqIXcMgkS7tKnitlmxDbcnHTNU4="
+    # Prevent spamming by forks using an environment variable
+    # - "$NOTIFICATION_EMAIL01"
 



More information about the Commits mailing list