-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Description
The docs refer to install: true to disable the default installation routine.
https://github.com/travis-ci/docs-travis-ci-com/blob/19c540badf1544dfbbcbe1927854e05cd0e21288/user/job-lifecycle.md#skipping-the-installation-phase
install: false also works, and seems much more intuitive when reading it regarding what it will do.
And if there is an install: true at the top level, how does one re-instate the default install script for jobs in matrix: / jobs: ? i.e. how to disabled inheriting install: true from the top level?
This would be more logical if install: false was used at the top level, and install: true was then used to use the default install script.
There are limited alternatives to add new syntax, as install: default currently means run default.
Of course switching the meaning of install: true would be a rude shock, but it might be more feasible in the future if the docs started recommending install: false now.
Related bug report, env: false doesnt work. It results in the job failing to be parsed. env: {} works to disable the env matrix in a job. Also raised as https://travis-ci.community/t/env-false-breaks-job/4208