forces rubocop install in travis (#6167)

This commit is contained in:
Joffrey JAFFEUX 2018-07-24 17:51:53 -04:00 committed by GitHub
parent 3a52c2fa64
commit 29e612e86a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 4 deletions

View File

@ -65,6 +65,7 @@ install:
- bash -c "if [ '$RAILS_MASTER' == '1' ]; then bundle update --retry=3 --jobs=3 arel rails seed-fu > /dev/null; fi"
- bash -c "if [ '$RAILS_MASTER' == '0' ]; then bundle install --without development --deployment --retry=3 --jobs=3 > /dev/null; fi"
- bash -c "if [ '$RUN_LINT' == '1' ]; then yarn global add eslint babel-eslint prettier > /dev/null; fi"
- bash -c "if [ '$RUN_LINT' == '1' ]; then gem install rubocop > /dev/null; fi"
- bash -c "if [ '$QUNIT_RUN' == '1' ]; then yarn install --dev > /dev/null; fi"
- bash -c "if [ '$RUN_LINT' != '1' ]; then bundle exec rake db:create db:migrate > /dev/null; fi"

View File

@ -1,7 +1,3 @@
require 'rubygems'
require 'bundler'
Bundler.require(:test)
require 'json'
require 'shellwords'