Push event #76 passed

  • Ran for
  • Total time
  • New branch build
mkdtravis/testingdocker:.travis.yml@2934825
os: linux
dist: focal
language: shell
env:
  global:
   # - FOO=a
    - BAR=false
install: skip
stages:
  - name: A
    if: env(BAR) = false
  - name: B
    if: env(BAR) = true
jobs:
  include:
    - stage: "A"
      name: "STAGE A"
      script: sleep 1

    - stage: "A"
      name: "STAGE A"
      script: sleep 2

    - stage: "B"
      name: "STAGE A"
      script: sleep 3

    - stage: "B"
      name: "STAGE A"
      script: sleep 4
Build Config
{
  "language": "shell",
  "os": [
    "linux"
  ],
  "dist": "focal",
  "env": {
    "global": [
      {
        "BAR": "false"
      }
    ]
  },
  "install": [
    "skip"
  ],
  "stages": [
    {
      "name": "A",
      "if": "env(BAR) = false"
    },
    {
      "name": "B",
      "if": "env(BAR) = true"
    }
  ],
  "jobs": {
    "include": [
      {
        "stage": "A",
        "name": "STAGE A",
        "script": [
          "sleep 1"
        ]
      },
      {
        "stage": "A",
        "name": "STAGE A",
        "script": [
          "sleep 2"
        ]
      },
      {
        "stage": "B",
        "name": "STAGE A",
        "script": [
          "sleep 3"
        ]
      },
      {
        "stage": "B",
        "name": "STAGE A",
        "script": [
          "sleep 4"
        ]
      }
    ]
  }
}