add rubocop to travis config

This commit is contained in:
Joshua Arts 2018-07-09 16:41:49 -04:00
parent 3b985a6dbb
commit 19ffe483c6
3 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,6 @@
language: ruby
rvm:
- 2.5.1
script:
- bundle exec rubocop

View File

@ -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

View File

@ -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).