lib/dpl/provider.rb in dpl-1.5.2.travis.197.2 vs lib/dpl/provider.rb in dpl-1.5.2.travis.200.2

- old
+ new

@@ -46,10 +46,10 @@ def self.context self end def self.shell(command, options = {}) - command = "travis_retry #{command}" if options[:retry] + command = "travis_retry #{command}" if options[:retry] and ENV['TRAVIS'] system(command) end def self.pip(name, command = name) context.shell("sudo pip install #{name}", retry: true) if `which #{command}`.chop.empty?