[wp-trac] [WordPress Trac] #30755: Add Slack notifications to Travis CI

WordPress Trac noreply at wordpress.org
Mon Feb 23 09:35:56 UTC 2015


#30755: Add Slack notifications to Travis CI
------------------------------+-----------------------
 Reporter:  nacin             |       Owner:  nacin
     Type:  enhancement       |      Status:  reopened
 Priority:  normal            |   Milestone:  4.1
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:
 Keywords:                    |     Focuses:
------------------------------+-----------------------

Comment (by netweb):

 I setup my own testing instance of Slack and this worked for me:

 For the `Travis CI` Slack channel `#core` get the Travis CI token from the
 correct service integration:

 * Slack Integrations e.g. `https://wordpress.slack.com/services`
 * Token e.g. `AbCdEfGh12JkLm34PqRs56Tu`

 In a terminal prompt of a local clone of
 https://github.com/aaronjorbin/develop.wordpress running the following
 will automatically update the existing value in `.travis.yml`

 * `travis encrypt "wordpress:AbCdEfGh12JkLm34PqRs56Tu" --add
 notifications.slack`
 Note: `wordpress` in the above command is the Slack instance/organisation
 name and not the channel name.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/30755#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list