Skip to content

Commit

Permalink
Fix Circle config
Browse files Browse the repository at this point in the history
  • Loading branch information
aslakhellesoy committed Sep 29, 2017
1 parent c6b5d98 commit fca3157
Showing 1 changed file with 35 additions and 1 deletion.
36 changes: 35 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
version: 2
jobs:
"2.4.1":
"ruby-2.4.1":
docker:
- image: circleci/ruby:2.4.1
working_directory: ~/repo
Expand All @@ -29,3 +29,37 @@ jobs:
name: Run RSpec
command: |
bundle exec rake
"ruby-2.3.5":
docker:
- image: circleci/ruby:2.3.5
working_directory: ~/repo
steps:
- checkout
# Download and cache dependencies
- restore_cache:
keys:
- v1-dependencies-{{ checksum "Gemfile.lock" }}
# fallback to using the latest cache if no exact match is found
- v1-dependencies-
- run:
name: install dependencies
command: |
bundle install --jobs=4 --retry=3 --path vendor/bundle
- save_cache:
paths:
- ./vendor/bundle
key: v1-dependencies-{{ checksum "Gemfile.lock" }}

- type: shell
name: Run RSpec
command: |
bundle exec rake
workflows:
version: 2
build:
jobs:
- "ruby-2.4.1"
- "ruby-2.3.5"

0 comments on commit fca3157

Please sign in to comment.