Added Java build and tests to Travis-CI build