in Travis config, use Java 6

like many Scala projects, we can't actually compile on JDK 7 because
of API changes in Swing