Commit b0994f0c0fee3b1b875c174fd631d7a361e166a6

Authored by Andrew Kane
1 parent c6bc6dfa

Set ES_PATH on Travis

Showing 1 changed file with 2 additions and 0 deletions   Show diff stats
test/test_helper.rb
... ... @@ -8,6 +8,8 @@ require "active_support/notifications"
8 8  
9 9 ENV["RACK_ENV"] = "test"
10 10  
  11 +ENV["ES_PATH"] ||= "#{ENV["HOME"]}/elasticsearch/#{ENV["ELASTICSEARCH_VERSION"]}" if ENV["TRAVIS"]
  12 +
11 13 $logger = ActiveSupport::Logger.new(ENV["VERBOSE"] ? STDOUT : nil)
12 14  
13 15 Searchkick.client.transport.logger = $logger
... ...