Skip to content

Commit

Permalink
Do not run rubocop on every job
Browse files Browse the repository at this point in the history
  • Loading branch information
LTe committed Apr 19, 2020
1 parent 4569306 commit 6f493ab
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ matrix:
gemfile: gemfiles/rails_master.gemfile
- rvm: ruby-head
gemfile: gemfiles/rails_master.gemfile
- rvm: 2.7
gemfile: gemfiles/rails_6.0.gemfile
name: "Rubocop"
script: rake rubocop
before_install:
- gem update --system
- gem install bundler
Expand Down
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ RSpec::Core::RakeTask.new(:spec) do |spec|
spec.pattern = FileList['spec/**/*_spec.rb']
end

task default: %i[rubocop spec]
task default: :spec

0 comments on commit 6f493ab

Please sign in to comment.