Rakefile in gitlab-4.5.0 vs Rakefile in gitlab-4.6.0
- old
+ new
@@ -1,5 +1,7 @@
+# frozen_string_literal: true
+
require 'bundler/gem_tasks'
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec) do |spec|
spec.rspec_opts = ['--color', '--format d']
@@ -8,10 +10,6 @@
require 'rubocop/rake_task'
RuboCop::RakeTask.new(:rubocop) do |task|
task.options = ['-D', '--parallel']
end
-if ENV['TRAVIS_CI_RUBOCOP']
- task default: :rubocop
-else
- task default: :spec
-end
+task default: :spec