Setup CircleCI to run bundle audit

This commit is contained in:
2018-10-12 17:27:22 +01:00
parent 8457d6851d
commit 080705664b
2 changed files with 17 additions and 0 deletions

16
.circleci/config.yml Normal file
View File

@@ -0,0 +1,16 @@
version: 2
jobs:
build:
docker:
- image: circleci/ruby:2.5.1-node-browsers
steps:
- checkout
- run:
name: Which bundler?
command: bundle -v
- run:
name: Bundle Install
command: bundle check || bundle install
- run:
name: Run rspec in parallel
command: bundle audit check --update

View File

@@ -23,6 +23,7 @@ Gem::Specification.new do |spec|
spec.require_paths = ['lib']
spec.add_development_dependency 'bundler', '~> 1.14'
spec.add_development_dependency 'bundler-audit'
spec.add_development_dependency 'byebug'
spec.add_development_dependency 'guard-rspec'
spec.add_development_dependency 'guard-rubocop'