📜  travis allow_failures 脚本 - 任何代码示例

📅  最后修改于: 2022-03-11 14:57:24.059000             🧑  作者: Mango

代码示例1
env:
  - CAN_FAIL=false

jobs:
  allow_failures: 
    env:
      - CAN_FAIL=true
  include:
    - stage: this can fail
      env:
       - CAN_FAIL=true
      script: ... everything here can fail ..