travis-ci: move each part of the build into its own function
travis-ci: move each part of the build into its own function

nany-lang/nanyc,nany-lang/nany,nany-lang/nany,milipili/nany,nany-lang/nanyc,milipili/nany,milipili/nany,nany-lang/nany,nany-lang/nanyc