-
Notifications
You must be signed in to change notification settings - Fork 12
/
appveyor.yml
42 lines (32 loc) · 1.17 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#---------------------------------#
# environment configuration #
#---------------------------------#
version: 1.0.{build}.0
install:
- git clone -q --branch 0.3.0.0-PSGallery https://github.com/PowerShell/DscResource.Tests.git
- ps: |
$moduleName = 'AccessControlDSC'
Import-Module -Name "$env:APPVEYOR_BUILD_FOLDER\DscResource.Tests\AppVeyor.psm1"
Import-Module -Name "$env:APPVEYOR_BUILD_FOLDER\Tests\TestHelper.psm1"
Install-PackageProvider -Name NuGet -MinimumVersion 2.8.5.201 -Force
Invoke-AppveyorInstallTask -PesterMaximumVersion 4.10.1
#---------------------------------#
# build configuration #
#---------------------------------#
build: false
#---------------------------------#
# test configuration #
#---------------------------------#
test_script:
- ps: |
Invoke-AppveyorTestScriptTask `
-Type 'Default' `
-CodeCoverage `
-CodeCovIo
#---------------------------------#
# deployment configuration #
#---------------------------------#
deploy_script:
- ps: |
Invoke-AppveyorAfterTestTask `
-ResourceModuleName $moduleName