Adapt travis script