forked from liprec/vsts-publish-adf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
21 lines (18 loc) · 870 Bytes
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# See http://www.appveyor.com/docs/appveyor-yml for many more options
# Skip on updates to the readme.
# We can force this by adding [skip ci] or [ci skip] anywhere in commit message
skip_commits:
message: /updated readme.*/
# Pester tests are written against version 4.0.3-rc, so -pre is needed
install:
- cinst pester -y -pre
build: false
test_script:
- ps: Install-PackageProvider NuGet -MinimumVersion '2.8.5.201' -Force
- ps: Import-PackageProvider NuGet -MinimumVersion '2.8.5.201' -Force
- ps: Install-Module -Name PSScriptAnalyzer -RequiredVersion 1.6.0 -Repository PSGallery -Force
- ps: . .\Tests\appveyor.pester.ps1
# Test with PS version 3
- ps: powershell.exe -version 3.0 -executionpolicy bypass -noprofile -file .\Tests\appveyor.pester.ps1
# Finalize pass - collect and upload results
- ps: . .\Tests\appveyor.pester.ps1 -Finalize