Configure travis for Java 7.