.circleci/config.yml in coach-1.0.0 vs .circleci/config.yml in coach-2.0.0
- old
+ new
@@ -9,11 +9,11 @@
command: echo "$RAILS_VERSION" > ~/RAILS_VERSION.txt
- type: cache-restore
key: coach-bundler-{{ checksum "coach.gemspec" }}-{{ checksum "~/RAILS_VERSION.txt" }}
- - run: gem install bundler
+ - run: gem install bundler -v 1.11.2
- run: bundle install --path vendor/bundle
- type: cache-save
key: coach-bundler-{{ checksum "coach.gemspec" }}-{{ checksum "~/RAILS_VERSION.txt" }}
@@ -31,34 +31,10 @@
- type: store_test_results
path: /tmp/test-results
- run: bundle exec rubocop
jobs:
- build-ruby22-rails515:
- docker:
- - image: ruby:2.2
- environment:
- - RAILS_VERSION=5.1.5
- steps: *steps
- build-ruby22-rails4210:
- docker:
- - image: ruby:2.2
- environment:
- - RAILS_VERSION=4.2.10
- steps: *steps
- build-ruby23-rails515:
- docker:
- - image: ruby:2.3
- environment:
- - RAILS_VERSION=5.1.5
- steps: *steps
- build-ruby23-rails4210:
- docker:
- - image: ruby:2.3
- environment:
- - RAILS_VERSION=4.2.10
- steps: *steps
build-ruby24-rails515:
docker:
- image: ruby:2.4
environment:
- RAILS_VERSION=5.1.5
@@ -84,13 +60,9 @@
workflows:
version: 2
tests:
jobs:
- - build-ruby22-rails515
- - build-ruby22-rails4210
- - build-ruby23-rails515
- - build-ruby23-rails4210
- build-ruby24-rails515
- build-ruby24-rails4210
- build-ruby25-rails515
- build-ruby25-rails4210