From 19ffe483c6ebf3769172e48cef41ccee95060ef0 Mon Sep 17 00:00:00 2001 From: Joshua Arts Date: Mon, 9 Jul 2018 16:41:49 -0400 Subject: [PATCH] add rubocop to travis config --- .travis.yml | 3 +++ Gemfile | 6 +++--- README.md | 2 ++ 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 297fea54..4715c7be 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,3 +1,6 @@ language: ruby rvm: - 2.5.1 + +script: + - bundle exec rubocop diff --git a/Gemfile b/Gemfile index 45513eed..538c9b49 100644 --- a/Gemfile +++ b/Gemfile @@ -58,9 +58,6 @@ gem 'tabler-rubygem' # Use Capistrano for deployment # gem 'capistrano-rails', group: :development -# Ruby linting. -gem 'rubocop', require: false - group :production do # Use a postgres database in production. gem 'pg', '~> 0.18' @@ -82,6 +79,9 @@ group :test do gem 'shoulda-matchers', '~> 3.1' gem 'faker' gem "factory_bot_rails" + + # Ruby linting. + gem 'rubocop' end group :development do diff --git a/README.md b/README.md index fbdda367..e826dfa2 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ +![Travis](https://travis-ci.org/bigbluebutton/greenlight.svg?branch=master) + # Greenlight Greenlight is currently on version 2.0. If you are still running Greenlight 1.0 we suggest [upgrading to 2.0](http://docs.bigbluebutton.org/install/greenlight-v2.html#upgrading-from-greenlight-10).