Fixed for loop in Travis