Skip to content

Instantly share code, notes, and snippets.

@PoslinskiNet
Last active May 1, 2017 18:33
Show Gist options
  • Save PoslinskiNet/2a28b1a79e88920aea0e0cffa25de599 to your computer and use it in GitHub Desktop.
Save PoslinskiNet/2a28b1a79e88920aea0e0cffa25de599 to your computer and use it in GitHub Desktop.
Sample QA gems setup for you CI - Part 1
env:
global:
- COVERAGE=true
- RAILS_ENV=test
before_script:
- bundle exec rubocop
- bundle exec bundle-audit check — update
- bundle exec license_finder
script:
- bundle exec rspec spec
- bundle exec cane --gte ‘coverage/.last_run.json,95’ --no-abc --no-style --no-doc
group :test do
gem 'simplecov'
end
group :development, :test do
gem 'rubocop'
gem 'bundle-audit'
gem 'license_finder'
gem 'cane'
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment