PowerShell7/.vsts-ci/spelling.yml
Travis Plunk 40857a25c3
Merge changelogs from 6.1.1 and 6.0.5 into master (#8283)
* Add 6.1.1 change log
* Add 6.0.5 change log
* Change filters for spelling CI
2018-11-15 15:17:48 -08:00

47 lines
1.0 KiB
YAML

name: PR-$(System.PullRequest.PullRequestNumber)-$(Date:yyyyMMdd)$(Rev:.rr)
trigger:
branches:
include:
- master
- release*
paths:
exclude:
- /src/*
pr:
branches:
include:
- master
- release*
paths:
exclude:
- /src/*
resources:
- repo: self
clean: true
phases:
- phase: Linux_CI
queue:
name: Hosted Ubuntu 1604
steps:
- powershell: |
Get-ChildItem -Path env:
displayName: Capture environment
condition: succeededOrFailed()
- bash: |
sudo npm install -g markdown-spellcheck@0.11.0
displayName: Install mdspell
condition: succeededOrFailed()
- powershell: Write-Host "##vso[build.updatebuildnumber]$env:BUILD_SOURCEBRANCHNAME-$env:BUILD_SOURCEVERSION-$((get-date).ToString("yyyyMMddhhmmss"))"
displayName: Set Build Name for Non-PR
condition: ne(variables['Build.Reason'], 'PullRequest')
- bash: |
mdspell '**/*.md' '!**/Pester/**/*.md' --ignore-numbers --ignore-acronyms --report --en-us;
displayName: Test Spelling
condition: succeededOrFailed()