The online documentation for Travis-CI notification on Slack says:
It is also possible to redefine the channel, just add it to the C # configuration, separating them from the account and token.
notifications: slack: '<account>:<token>#development'
However, if I want to encrypt my credentials as recommended:
travis encrypt "<account>:<token>" --add notifications.slack
will work fine. But when I try:
travis encrypt "<account>:<token>#development" --add notifications.slack
I get a new encrypted token, but notifications come through the default channel set during integration. What am I doing wrong?
Note. We use corporate versions of everything (Slack, Travis, GitHub) if this can play a role.
source share