Skip to content

Commit

Permalink
Test against Ruby 2.7 on CircleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
nickcharlton committed Feb 12, 2020
1 parent 5ad65e1 commit 5bc48a8
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.0-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 5bc48a8

Please sign in to comment.