spec/spec_helper.rb in travis-1.5.1 vs spec/spec_helper.rb in travis-1.5.2
- old
+ new
@@ -18,12 +18,14 @@
c.before do
temp_dir = File.expand_path('travis-spec', Dir.tmpdir)
FileUtils.rm_rf(temp_dir)
FileUtils.mkdir_p(temp_dir)
+ ENV.delete_if { |k,v| k.start_with? "TRAVIS_" }
ENV['TRAVIS_CONFIG_PATH'] = File.expand_path('travis', temp_dir)
end
c.after do
+ ENV.delete_if { |k,v| k.start_with? "TRAVIS_" }
FileUtils.rm_rf(temp_dir)
end
end