update travis config to deprecate java 6