diff --git a/.circleci/config.yml b/.circleci/config.yml index fc44032fc9..cfe0097074 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -36,6 +36,20 @@ default_job: &default_job - run: bundle exec appraisal rake jobs: + ruby-2.2: + <<: *default_job + docker: + - image: circleci/ruby:2.2.9-node-browsers + environment: + PGHOST: localhost + PGUSER: administrate + RAILS_ENV: test + - image: postgres:9.5-alpine + environment: + POSTGRES_USER: administrate + POSTGRES_DB: ruby22 + POSTGRES_PASSWORD: "" + ruby-2.3: <<: *default_job docker: @@ -85,3 +99,4 @@ workflows: - ruby-2.5 - ruby-2.4 - ruby-2.3 + - ruby-2.2 diff --git a/README.md b/README.md index a0730043ea..5e6c8431e5 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,8 @@ To accomplish these goals, Administrate follows a few guiding principles: ## Getting Started -Administrate supports Rails from 4.2, up to 5.0 and beyond. +Administrate supports Rails from 4.2, up to 5.0 and beyond. We support Ruby +2.2.9 and up. Add Administrate to your Gemfile and re-bundle: