Last active
March 7, 2018 06:35
-
-
Save johlju/465d67c9f7c32cd667c141979a08fb80 to your computer and use it in GitHub Desktop.
Template appveyor.yml for default testing model for the DscResource.Tests framework
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
#---------------------------------# | |
# environment configuration # | |
#---------------------------------# | |
version: 1.0.{build}.0 | |
install: | |
- git clone https://github.com/PowerShell/DscResource.Tests | |
- ps: Write-Verbose -Message "PowerShell version $($PSVersionTable.PSVersion)" -Verbose | |
- ps: Import-Module "$env:APPVEYOR_BUILD_FOLDER\DscResource.Tests\AppVeyor.psm1" | |
- ps: Invoke-AppveyorInstallTask | |
#---------------------------------# | |
# build configuration # | |
#---------------------------------# | |
build: false | |
#---------------------------------# | |
# test configuration # | |
#---------------------------------# | |
test_script: | |
- ps: | | |
Invoke-AppveyorTestScriptTask -CodeCoverage -CodeCovIo -ExcludeTag @() | |
#---------------------------------# | |
# deployment configuration # | |
#---------------------------------# | |
# scripts to run before deployment | |
deploy_script: | |
- ps: | | |
Invoke-AppveyorAfterTestTask |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment