fix travis config and using call in for loops