Updated to Circle CI 2.0.0 configuration.

Uses latest configuration version in order to not be caught off-guard
if/when they drop v1.0.0 support.

[Details](https://circleci.com/docs/2.0).
This commit is contained in:
Brooke Kuhlmann
2018-01-28 07:44:33 -07:00
parent 94373dd5e8
commit 9730e0ce45

View File

@@ -1,7 +1,33 @@
dependencies:
pre:
- gem update --system
- gem update bundler
test:
override:
- bundle exec rake
version: 2
jobs:
build:
working_directory: ~/project
docker:
- image: circleci/ruby:2.5.0
environment:
BUNDLE_JOBS: 3
BUNDLE_RETRY: 3
BUNDLE_PATH: vendor/bundle
EDITOR: vim
steps:
- checkout
- type: cache-restore
name: Bundler Cache Restore
key: bundle-{{ checksum "Gemfile" }}
- run:
name: Bundler Install
command: |
gem update --system
bundle check || bundle install
- type: cache-save
name: Bundler Cache Store
key: bundle-{{ checksum "Gemfile" }}
paths:
- vendor/bundle
- run:
name: Rake Run
command: bundle exec rake