Sha256: 03365ad59fa0b7c1169dd8a7e7626f48369127dde6d315492907a5e2ea8e37ec

Contents?: true

Size: 620 Bytes

Versions: 10

Compression:

Stored size: 620 Bytes

Contents

require 'coveralls'
Coveralls.wear!

require 'bundler/setup'
require 'test/unit'

# Load JAVA env variables
begin
  ENV['JAVA_HOME'] ||= `readlink -f /usr/bin/java | sed "s:/jre/bin/java::"`.strip
  architecture = `dpkg --print-architecture`.strip
  ENV['LD_LIBRARY_PATH'] = "#{ENV['LD_LIBRARY_PATH']}:#{ENV['JAVA_HOME']}/jre/lib/#{architecture}:#{ENV['JAVA_HOME']}/jre/lib/#{architecture}/client"
rescue
  puts "JAVA_HOME has not been set automatically because it's not Debian here."
end

$LOAD_PATH.unshift(File.dirname(__FILE__))
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))

require 'beardley'

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
beardley-0.6.3 test/helper.rb
beardley-0.6.2 test/helper.rb
beardley-0.6.1 test/helper.rb
beardley-0.6.0 test/helper.rb
beardley-0.5.0 test/helper.rb
beardley-0.4.1 test/helper.rb
beardley-0.4.0 test/helper.rb
beardley-0.3.0 test/helper.rb
beardley-0.2.0 test/helper.rb
beardley-0.1.2 test/helper.rb