We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3257527 commit 287276cCopy full SHA for 287276c
.travis.yml
Rakefile
@@ -1,7 +1,7 @@
1
# frozen_string_literal: true
2
require 'bundler/gem_tasks'
3
require 'rake/testtask'
4
-Rake::TestTask.new 'test' do |t|
+Rake::TestTask.new :test do |t|
5
if ENV['SOCKET_PATH'].nil?
6
sock_file = Dir.glob("#{__dir__}/**/redis.sock").first
7
@@ -21,7 +21,7 @@ Rake::TestTask.new 'test' do |t|
21
t.test_files = ARGV[1..-1]
22
end
23
24
- t.options = '-v'
+ t.options = '-v' if ENV['CI'] || ENV['VERBOSE']
25
26
27
task default: :test
0 commit comments