Conditions v1 is now available! Conditions provides fine-grained control over how and when your builds, stages, and jobs happen. We’ve significantly improved and expanded it based on your feedback and we are excited to announce it as available for opt-in use.
We will make v1 the default version for all of Travis CI on July 17th. As a note, since v1 is a significant rewrite of the language parser and it may impact the logic of builds using the early-release, v0. In this latest release, you'll find these additions and changes:
New in Conditions v1: We’ve added significantly better support for a wider variety of expressions, especially for comparisons, function calls, and statements enclosed by parens. We’ve also added new attributes, aliases, line-continuation with
falseas keywords with
Behavior Changing from v0: We now treat
falseas boolean types, and individual terms are evaluated as
trueunless they are
falseor missing. In addition, in some cases, the
$sign will now raise parsing errors as bash is not (and has not) been evaluated properly.
To opt-in to the new version, please add
conditions: v1 to your