Got travis working, fixed ruby 1.9.3 compatibility

This commit is contained in:
Dan Hirsch 2014-01-11 04:27:40 +01:00
parent df196aa346
commit 982665aafa
4 changed files with 32 additions and 17 deletions

View file

@ -9,11 +9,15 @@ rubysources = [
"hammer-parser.gemspec",
"Rakefile",
"Gemfile",
"Gemfile.lock",
"README.md",
]
rubyenv = env.Clone()
for k,v in os.environ.items():
if "RUBY" in k or "GEM" in k or "rvm" in k:
rubyenv['ENV'][k] = v
rubyenv['ENV']['LD_LIBRARY_PATH'] = os.path.dirname(str(libhammer_shared[0]))
rubyenv['RBDIR'] = os.path.dirname(str(rubyenv.File("Gemfile").path))