mirror of
https://github.com/athityakumar/colorls.git
synced 2024-09-12 05:31:14 +02:00
Enable warnings when running RSpec from rake
- travis: Use rake to run specs to generate warnings.
This commit is contained in:
parent
74c7c9c0a1
commit
3e53464ddf
2 changed files with 4 additions and 2 deletions
|
@ -12,7 +12,7 @@ rvm:
|
|||
|
||||
script:
|
||||
- bundle exec rubocop
|
||||
- bundle exec rspec
|
||||
- bundle exec rake spec
|
||||
- bundle exec rake install
|
||||
- bundle binstubs colorls
|
||||
- PATH=$PWD/bin:$PATH
|
||||
|
|
4
Rakefile
4
Rakefile
|
@ -3,7 +3,9 @@ require 'rubygems/tasks'
|
|||
Gem::Tasks.new
|
||||
|
||||
require 'rspec/core/rake_task'
|
||||
RSpec::Core::RakeTask.new
|
||||
RSpec::Core::RakeTask.new(:spec) do |t|
|
||||
t.rspec_opts = "--warnings"
|
||||
end
|
||||
|
||||
require 'rubocop/rake_task'
|
||||
RuboCop::RakeTask.new do |task|
|
||||
|
|
Loading…
Reference in a new issue