updated travis-ci config to compile with jdk 8