Tweak travis build configuration for proper J6/J7 testing.