Refactor to range based for loops.
New travis script.