Sha256: e142619549d0dd32c38439142889e20752660190809b7c5a384d6cf2cda675c7

Contents?: true

Size: 1.32 KB

Versions: 3

Compression:

Stored size: 1.32 KB

Contents

# To update the build configuration, edit the "builds" array below and run:
# erb .circleci/config.yml.erb > .circleci/config.yml

version: 2
jobs:

  build_2.5_rails_5:
    docker:
      - image: circleci/ruby:2.4.1
      - image: redis:3-alpine
    steps:
      - checkout

      - run:
          name: Install bundler
          command: |
            gem install bundler -v '~> 1.17' ;
            bundle config --local gemfile $PWD/gemfiles/rails_5.gemfile

      - restore_cache:
          keys: 
            - v2-bundle-2.5.0-rails_5-{{ .Branch }}
            - v2-bundle-2.5.0-rails_5
            - v2-bundle-2.5.0

      - run: 
          name: Install dependencies
          command: |
            bundle install --jobs=3 --retry=3 --path=$PWD/vendor/bundle

      - run:
          name: Run test suite
          command: |
            unset RACK_ENV &&
            unset RAILS_ENV &&
            bundle exec rspec

      - save_cache:
          key: v2-bundle-2.5.0-rails_5-{{ .Branch }}
          paths:
            - ~/project/vendor/bundle
      - save_cache:
          key: v2-bundle-2.5.0-rails_5
          paths:
            - ~/project/vendor/bundle
      - save_cache:
          key: v2-bundle-2.5.0
          paths:
            - ~/project/vendor/bundle


workflows:
  version: 2
  test:
    jobs:
      - build_2.5_rails_5
    

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
routemaster-drain-3.6.8 .circleci/config.yml
routemaster-drain-3.6.7 .circleci/config.yml
routemaster-drain-3.6.6 .circleci/config.yml