Skip to content

Commit c5fdfb4

Browse files
committed
Merge pull request #1217 from maurogeorge/patch-04
Change default rake task to run test and rubocop
2 parents 345f8f3 + c7b8c54 commit c5fdfb4

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ install:
1818

1919
script:
2020
- env CAPTURE_STDERR=false bundle exec rake
21-
- bundle exec rake rubocop
2221

2322
env:
2423
- "RAILS_VERSION=4.0"

Rakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,4 @@ Rake::TestTask.new do |t|
3636
t.verbose = true
3737
end
3838

39-
task :default => :test
39+
task default: [:test, :rubocop]

appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@ install:
2121
- bundle install --retry=3
2222

2323
test_script:
24-
- bundle exec rake
24+
- bundle exec rake test
2525

2626
build: off

0 commit comments

Comments
 (0)