Skip to content

A platform for community discussion. Free, open, simple.

forces rubocop install in travis (#6167)

Joffrey JAFFEUX29e612e86aef
diff --git a/.travis.yml b/.travis.yml
index 79fc1d9da8d..3144ec848f0 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -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"
diff --git a/Dangerfile b/Dangerfile
index 2c78c82ad01..411598be085 100644
--- a/Dangerfile
+++ b/Dangerfile
@@ -1,7 +1,3 @@
-require 'rubygems'
-require 'bundler'
-Bundler.require(:test)
-
require 'json'
require 'shellwords'