Wrap each stage in a bash function
Wrap each stage in a bash function

and execute them in order

craigcitro/travis-build,JuliaCI/travis-build,andyli/travis-build,kevmoo/travis-build,JuliaCI/travis-build,kevmoo/travis-build,craigcitro/travis-build,andyli/travis-build