main fix branch name so that it matches the one in the if stateme…

Push event #5.2 failed

  • Ran for
AMD64
Go: 1.10.x
Git
BR=lib-library2-test-conditions B=1
This is the configuration for all of build #5, including this job
conditions: v1

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 = main
      env: BR=lib-library2-test-conditions A=1

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