Skip to content

Commit

Permalink
Test against Ruby 2.7 on CircleCI
Browse files Browse the repository at this point in the history
We need to install a specific bundler version so that we're doing the
same in CI everywhere. Appraisal historically had issues with Bundler 2.0, but
upgrading this would be an unrelated change.
  • Loading branch information
nickcharlton committed Aug 14, 2020
1 parent ebb2eda commit f78db13
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ commands:
steps:
- checkout

# Install bundler
- run: gem install bundler:1.17.3

# Restore Cached Dependencies
- restore_cache:
name: Restore bundle cache
Expand Down Expand Up @@ -70,10 +73,24 @@ jobs:
POSTGRES_DB: ruby26
POSTGRES_PASSWORD: ""

ruby-27:
<<: *default_job
docker:
- image: circleci/ruby:2.7-node-browsers-legacy
environment:
PGHOST: localhost
PGUSER: administrate
RAILS_ENV: test
- image: postgres:10.1-alpine
environment:
POSTGRES_USER: administrate
POSTGRES_DB: ruby27
POSTGRES_PASSWORD: ""

workflows:
version: 2
multiple-rubies:
jobs:
- ruby-27
- ruby-26
- ruby-25

0 comments on commit f78db13

Please sign in to comment.