mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-22 22:06:50 +00:00
Merge pull request #1217 from maurogeorge/patch-04
Change default rake task to run test and rubocop
This commit is contained in:
commit
c5fdfb43bf
@ -18,7 +18,6 @@ install:
|
||||
|
||||
script:
|
||||
- env CAPTURE_STDERR=false bundle exec rake
|
||||
- bundle exec rake rubocop
|
||||
|
||||
env:
|
||||
- "RAILS_VERSION=4.0"
|
||||
|
||||
2
Rakefile
2
Rakefile
@ -36,4 +36,4 @@ Rake::TestTask.new do |t|
|
||||
t.verbose = true
|
||||
end
|
||||
|
||||
task :default => :test
|
||||
task default: [:test, :rubocop]
|
||||
|
||||
@ -21,6 +21,6 @@ install:
|
||||
- bundle install --retry=3
|
||||
|
||||
test_script:
|
||||
- bundle exec rake
|
||||
- bundle exec rake test
|
||||
|
||||
build: off
|
||||
|
||||
Loading…
Reference in New Issue
Block a user