fix TravisCI configuration.

Project compiles on JDK6 (it may not last, I'll see...).