TravisCI: How to allow failures for environment variable

后端 未结 2 496
一整个雨季
一整个雨季 2021-02-12 03:18

How to allow failures for builds having specific environment variable value?

For example:

.travis.yml:

env:
  - TEST_GROUP=Smoke
  - TEST_GROUP=o         


        
2条回答
  •  猫巷女王i
    2021-02-12 04:01

    You need to explicitly reference env in the allow_failures section:

    matrix:
      allow_failures:
        - env: TEST_GROUP=other
    

提交回复
热议问题