How to allow failures for builds having specific environment variable value?
For example:
.travis.yml:
env: - TEST_GROUP=Smoke - TEST_GROUP=other # How to allow failures for this variable? matrix: allow_failures: - TEST_GROUP=other # This does not work
There are three types of commands: Non-API Commands, General API Commands and Repository Commands. All commands take the form of travis COMMAND [ARGUMENTS] [OPTIONS] .
Continuous Deployment to the following providers is supported: anynines. AWS CloudFormation. AWS CodeDeploy.
Configuration. Travis CI is configured by adding a file named . travis. yml , which is a YAML format text file, to the root directory of the repository.
You need to explicitly reference env
in the allow_failures
section:
matrix: allow_failures: - env: TEST_GROUP=other
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With