Change .travis.yml to compile on Java 7 environments only