forked from dataplat/dbaclone
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
31 lines (24 loc) · 1020 Bytes
/
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
# See http://www.appveyor.com/docs/appveyor-yml for many more options
version: 0.1.{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
shallow_clone: true
environment:
environment: development
version: 0.1.$(appveyor_build_number)
appveyor_rdp_password: Psd@tabaseclone2018
matrix:
fast_finish: true
build_script:
# grab appveyor lab files and needed requirements for tests in CI
- ps: .\tests\appveyor\preparation.ps1
test_script:
# Test with PowerShell and Pester
- ps: .\tests\pester.ps1
#on_finish:
# - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))