Upgraded travis build to Java 7