change travis CI config to java