Split Travis build into several steps, so we can fold them in the Travis UI.