update travis.yml to fix build errors.