GSA/christopher

View on GitHub
.circleci/config.yml

Summary

Maintainability
Test Coverage
version: 2

jobs:
  build:
    working_directory: ~/christopher
    docker:
      - image: circleci/ruby:2.4-node-browsers
    steps:
      - checkout

      # Restore bundle cache
      - type: cache-restore
        key: christopher-{{ checksum "Gemfile.lock" }}

      # Install dependencies
      - run: bundle install --path vendor/bundle

      # Save bundle cache
      - type: cache-save
        key: christopher-{{ checksum "Gemfile.lock" }}
        paths:
          - vendor/bundle

      # test
      - run: bundle exec rake test:ci