Add java8 dependence to travis