-
Notifications
You must be signed in to change notification settings - Fork 51
/
appveyor.yml
32 lines (25 loc) · 1.12 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
# See http://www.appveyor.com/docs/appveyor-yml for many more options
version: 1.0.{build}
cache:
- C:\ProgramData\chocolatey\bin -> appveyor.yml
- C:\ProgramData\chocolatey\lib -> appveyor.yml
- C:\Program Files\WindowsPowerShell\Modules\PSScriptAnalyzer -> appveyor.yml
- C:\Program Files\WindowsPowerShell\Modules\Pester -> appveyor.yml
- C:\Program Files\WindowsPowerShell\Modules\PSFramework -> appveyor.yml
- C:\Program Files\WindowsPowerShell\Modules\PSSQLite -> appveyor.yml
- C:\Program Files\WindowsPowerShell\Modules\PoshWSUS -> appveyor.yml
- C:\Program Files\WindowsPowerShell\Modules\xWindowsUpdate -> appveyor.yml
shallow_clone: true
environment:
environment: master
version: 0.0.$(appveyor_build_number)
matrix:
fast_finish: true
build_script:
# grab appveyor lab files and needed requirements for tests in CI
- ps: .\build\appveyor.prep.ps1
test_script:
# Test with PowerShell and Pester
- ps: .\build\appveyor.pester.ps1
#on_finish:
# - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))