Skip to content

Instantly share code, notes, and snippets.

@johlju
Last active March 7, 2018 06:35
Show Gist options
  • Save johlju/465d67c9f7c32cd667c141979a08fb80 to your computer and use it in GitHub Desktop.
Save johlju/465d67c9f7c32cd667c141979a08fb80 to your computer and use it in GitHub Desktop.
Template appveyor.yml for default testing model for the DscResource.Tests framework
#---------------------------------#
# 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