mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-24 14:56: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:
|
script:
|
||||||
- env CAPTURE_STDERR=false bundle exec rake
|
- env CAPTURE_STDERR=false bundle exec rake
|
||||||
- bundle exec rake rubocop
|
|
||||||
|
|
||||||
env:
|
env:
|
||||||
- "RAILS_VERSION=4.0"
|
- "RAILS_VERSION=4.0"
|
||||||
|
|||||||
2
Rakefile
2
Rakefile
@ -36,4 +36,4 @@ Rake::TestTask.new do |t|
|
|||||||
t.verbose = true
|
t.verbose = true
|
||||||
end
|
end
|
||||||
|
|
||||||
task :default => :test
|
task default: [:test, :rubocop]
|
||||||
|
|||||||
@ -21,6 +21,6 @@ install:
|
|||||||
- bundle install --retry=3
|
- bundle install --retry=3
|
||||||
|
|
||||||
test_script:
|
test_script:
|
||||||
- bundle exec rake
|
- bundle exec rake test
|
||||||
|
|
||||||
build: off
|
build: off
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user