.gitlab-ci.yml 906 Bytes
Newer Older
Drew's avatar
Drew committed
1 2 3
types:
  - test

4 5 6 7
variables:
  XCSBOT: "fc03b092ecd597b3488984a34d029eec"
  GITLAB_PROJECT_ID: "9"

Drew's avatar
Drew committed
8 9 10
xcs:
  type: test
  script:
11 12 13 14 15
    - "/Applications/CaveJohnson.app/Contents/MacOS/CaveJohnsonCLI forceGitLabBranch --branchName CaveJohnsonAuto --hostname code.sealedabstract.com --projectID $GITLAB_PROJECT_ID"
    - "sleep 1" 
    - "XCSBUILDNO=`/Applications/CaveJohnson.app/Contents/MacOS/CaveJohnsonCLI xcsIntegrateNow --botID $XCSBOT --hostname localhost --sslPolicy localhost`"
    - "/Applications/CaveJohnson.app/Contents/MacOS/CaveJohnsonCLI waitForIntegration --hostname localhost --botID $XCSBOT --sslPolicy localhost --buildNumber $XCSBUILDNO"
    - "/Applications/CaveJohnson.app/Contents/MacOS/CaveJohnsonCLI xcsStatusToShell --hostname localhost --botID $XCSBOT --sslPolicy localhost --buildNumber $XCSBUILDNO"
Drew's avatar
Drew committed
16 17 18
  only:
    - master
  tags:
Drew's avatar
Drew committed
19
    - xc7
20 21 22 23
    
  artifacts:
    paths:
    - binaries/