Fixed Travis for JDK 7