AMD64
Go: 1.10.x
Git
BR=esta A=1
This is the configuration for all of build #7, including this job
language: go
go: 1.10.x

install: skip

jobs:
  include:
    # Test libraries
    - &lib-test-stage
      stage: test libraries
      script:
        - COMPONENT_TYPE=lib ./ci/test.sh
      if: branch = env(BR)
      env: BR=esta A=1

    - <<: *lib-test-stage
      env: BR=esta B=1
Build Config
{
  "go": "1.10.x",
  "jobs": {
    "include": [
      {
        "if": "branch = env(BR)",
        "env": "BR=esta A=1",
        "stage": "test libraries",
        "script": [
          "COMPONENT_TYPE=lib ./ci/test.sh"
        ]
      },
      {
        "if": "branch = env(BR)",
        "env": "BR=esta B=1",
        "stage": "test libraries",
        "script": [
          "COMPONENT_TYPE=lib ./ci/test.sh"
        ]
      }
    ]
  },
  "install": "skip",
  "language": "go"
}