在travis-ci上,如何在设置on_start等时加密我的松弛信息

时间:2015-09-25 23:53:49

标签: travis-ci

当我舔我的.travis.yml时,我被告知in notifications.slack section: unexpected key secure, dropping。如果我删除

on_start: never
on_failure: always
on_success: change

部分,然后它传递lint。如何在加密其他所有内容的同时保留这些设置?

https://lint.travis-ci.org/aaronjorbin/develop.wordpress

1 个答案:

答案 0 :(得分:3)

只要您在房间ALA

下安全,您就可以拥有on_start等部分
notifications:
  slack:
    rooms:
      secure: WuMCpfgrm0GIdPbYzsGOsakZ5x7QIbEBwD+CPHVXGKbL3ZbqQ+BVcDRnMiwzxjgf1vzg2de0taXCSMGKBxsWce23NZkOnmwPdIB8XOnwDV7T7zylgYD5S7p3gI6gV0l8Y3/gROdXFZap6viC1qRr4E79ow53RKk7E3WyOo7TWqo=
    on_start: never
    on_failure: always
    on_success: change