add contract validation while build_from_file
add jruby to travis config