.circleci/config.yml in video_chat_get-0.1.6 vs .circleci/config.yml in video_chat_get-0.1.9
- old
+ new
@@ -1,6 +1,10 @@
version: 2.1
+
+orbs:
+ slack: circleci/slack@3.3.0
+
executors:
my-executor:
docker:
- image: circleci/ruby:2.5.8-node-browsers
@@ -25,15 +29,27 @@
- ./vendor/bundle
- run:
name: bundle exec rake spec
command: bundle exec rake spec
+
+ - slack/status:
+ success_message: ':circleci-pass: $CIRCLE_BRANCH のテストが完了しました\n:github_octocat: User:$CIRCLE_USERNAME'
+ failure_message: ':circleci-fail: $CIRCLE_BRANCH のテストが失敗しました\n:github_octocat: User:$CIRCLE_USERNAME'
+ webhook: '${SLACK_WEBHOOK}'
workflows:
version: 2
- test-:
+ test:
jobs:
- - test:
- filters:
+ - test
+
+ test_cron:
+ triggers:
+ - schedule:
+ cron: "0 21 * * 0"
+ filters:
branches:
only:
- - master
+ - master
+ jobs:
+ - test
\ No newline at end of file