travis-ci / travis-conditions

Boolean language for conditional builds, stages, jobs
MIT License
20 stars 4 forks source link

`false` literal evaluation #13

Closed webknjaz closed 1 month ago

webknjaz commented 6 years ago

Here I've used if: false to temporary hide the job: https://github.com/python/core-workflow/blob/d969191/.travis.yml#L104

It's parsed as false by YAML parser (AFAICS according to the Config tab showing it in JSON). conditions: v1 is also there.

cc @svenfuchs

webknjaz commented 6 years ago

Workaround of if: 1 != 1 worked: https://travis-ci.com/webknjaz/core-workflow/builds/82455939