Migrate travis set to a bash script