travis gem をインストール github.com travisのクライアントをインストールする。 $ gem install travis accountとtokenをencrypt して .travis.ymlに追加 token はSlackのintegrationsで設定して取得する Slackの Setup Instructions の expandボタンをクリックすると確認できます travisクライアントを使用して、以下のコマンドを実行してください。 $ travis encrypt "<account>:<token>" --add notifications.slack.rooms .travis.ymlにnotificationsの設定が追加されているのを確認。 git commit & git pushしてTravis CIでビルド完了後にSlack通知されれば
