Sha256: 8e0d07120482880b0bcf218d9fad452c7b14d5a419d523fca6e81b8ad7a370c1

Contents?: true

Size: 1.33 KB

Versions: 5

Compression:

Stored size: 1.33 KB

Contents

version: 2.1

orbs:
  slack: circleci/slack@3.3.0

executors:
   my-executor:
    docker:
      - image: circleci/ruby:2.5.8-node-browsers

jobs:
  test:
    executor: my-executor
    steps: 
      - checkout 

      - restore_cache:
          name: cache lord
          key: gem-cache-{{ arch }}-{{ .Branch }}-{{ checksum "Gemfile.lock" }}

      - run: 
         name: bundle install  
         command: bundle check --path=vendor/bundle || bundle install --path vendor/bundle --clean --jobs 4 --retry 3

      - save_cache:
          name: save cache
          key: gem-cache-{{ arch }}-{{ .Branch }}-{{ checksum "Gemfile.lock" }}
          paths:
            - ./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:
    jobs:
      - test

  test_cron: 
    triggers:
      - schedule:
          cron: "0 21 * * 0" 
          filters:
            branches:
              only:
                - master
    jobs:
      - test

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
video_chat_get-0.2.3 .circleci/config.yml
video_chat_get-0.2.2 .circleci/config.yml
video_chat_get-0.2.1 .circleci/config.yml
video_chat_get-0.2.0 .circleci/config.yml
video_chat_get-0.1.9 .circleci/config.yml