Push event #72 passed

  • Ran for
  • Total time
mkdtravis/testingdocker:.travis.yml@c1dff6d
os: linux
dist: focal
language: shell
env:
  global:
   # - FOO=a
    - BAR=B
install: skip
script: sleep 1

jobs:
  include:
    - if: env(FOO) =~ [abc] and env(BAR) =~ [ABC]
    - if: env(FOO) =~ [abc] or env(BAR) =~ [ABC]
    - if: env(FOO) =~ [ABC]
    - if: env(BAR) =~ [abc]
    - if: env(FOO) =~ [ABC] and env(BAR) =~ [ABC]
    - if: env(FOO) =~ [abc] or env(BAR) =~ [abc]
Build Config
{
  "language": "shell",
  "os": [
    "linux"
  ],
  "dist": "focal",
  "env": {
    "global": [
      {
        "BAR": "B"
      }
    ]
  },
  "install": [
    "skip"
  ],
  "script": [
    "sleep 1"
  ],
  "jobs": {
    "include": [
      {
        "if": "env(FOO) =~ [abc] and env(BAR) =~ [ABC]"
      },
      {
        "if": "env(FOO) =~ [abc] or env(BAR) =~ [ABC]"
      },
      {
        "if": "env(FOO) =~ [ABC]"
      },
      {
        "if": "env(BAR) =~ [abc]"
      },
      {
        "if": "env(FOO) =~ [ABC] and env(BAR) =~ [ABC]"
      },
      {
        "if": "env(FOO) =~ [abc] or env(BAR) =~ [abc]"
      }
    ]
  }
}