update travis for java