travis script adpted