There seems to be confusion in the job lifecycle design on whether building of the user’s project is supposed to occur at the
script phase, or it should rather occur at the
install phase while the
script phase is reserved solely for running tests after that.
- The doc page above says
- install: install any dependencies required
- script: run the build script`.
- However, the result variable is called
- An example at https://docs.travis-ci.com/user/job-lifecycle/#complex-build-commands only runs tests and presents that as a complete
- Default scripts: