Sha256: b6250470891eb638dbd927981dbd3670da78b003874bee78eb0bdf66763c67fa

Contents?: true

Size: 1.05 KB

Versions: 3

Compression:

Stored size: 1.05 KB

Contents

version: 2
jobs:
  build:
    working_directory: ~/<%= app_name.dasherize %>
    docker:
      - image: circleci/ruby:2.5.1
        environment:
          PGHOST: localhost
          PGUSER: <%= app_name.dasherize %>
          RAILS_ENV: test
      - image: postgres:9.5
        environment:
          POSTGRES_USER: <%= app_name.dasherize %>
          POSTGRES_DB: <%= app_name.dasherize %>_test
          POSTGRES_PASSWORD: ""
    steps:
      - checkout

      - type: cache-restore
        name: Restore bundle cache
        key: <%= app_name.dasherize %>-{{ checksum "Gemfile.lock" }}

      - run: bundle install --path vendor/bundle

      - type: cache-save
        name: Store bundle cache
        key: <%= app_name.dasherize %>-{{ checksum "Gemfile.lock" }}
        paths:
          - vendor/bundle

      - run: dockerize -wait tcp://localhost:5432 -timeout 1m

      - run: cp config/application.example.yml config/application.yml

      - run: bundle exec rake db:setup

      - run: bundle exec brakeman --exit-on-warn --quiet -f plain
      - run: bundle exec rake

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
underlay-2.0 templates/circle.yml.erb
underlay-1.52.1 templates/circle.yml.erb
underlay-1.50.1 templates/circle.yml.erb