Last active
August 7, 2019 06:36
-
-
Save OwenMcDonnell/ff876149dec75a76dc90f407cb03e2ef to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
image: Visual Studio 2015 | |
environment: | |
matrix: | |
- JOB_NAME: test | |
JOB_DESC: "the one that should run every time" | |
- JOB_NAME: release | |
JOB_DESC: "the one that should run on the release branch" | |
- JOB_NAME: nightly | |
JOB_DESC: "the one that should run on the nightly tag" | |
- JOB_NAME: extra | |
JOB_DESC: "the one that should only run by request" | |
for: | |
- | |
branches: | |
only: | |
- /^release.*/ | |
matrix: | |
only: | |
- JOB_NAME: release | |
- | |
branches: | |
only: | |
- nightly | |
matrix: | |
only: | |
- JOB_NAME: nightly | |
- | |
only_commits: | |
message: /\[full ci\]/ | |
matrix: | |
only: | |
- JOB_NAME: extra | |
branches: | |
only: | |
- master | |
- /^release.*/ | |
- /^feat.*/ | |
- nightly | |
build_script: | |
- ps: Write-Host "Running $env:JOB_NAME job ($env:JOB_DESC)." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment