Split build and install stages in .travis.yml

Distinguish the "install" and "build" stages in the Travis configuration to improve the log formatting.