NAS-2375 Updated travis config to use java8.