-
-
Notifications
You must be signed in to change notification settings - Fork 13
/
appveyor.yml
29 lines (23 loc) · 1.03 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
# See http://www.appveyor.com/docs/appveyor-yml for many more options
version: 0.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\dbatools -> appveyor.yml
- C:\Program Files\WindowsPowerShell\Modules\dbachecks -> appveyor.yml
shallow_clone: true
environment:
environment: master
version: 0.0.$(appveyor_build_number)
build_script:
# grab appveyor lab files and needed requirements for tests in CI
- ps: .\build\appveyor.prep.ps1
- ps: .\tests\appveyor.SQL2017.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'))