Update travis to java 7