buildhive cannot offers a jdk 1.6 and for this reason a switched to travis-ci