set travis-ci build script to use java8