forked from dataplat/dbatools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
46 lines (36 loc) · 1.42 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
38
39
40
41
42
43
44
45
46
# See http://www.appveyor.com/docs/appveyor-yml for many more options
build: false
version: 0.9.{build}
# Set build info
environment:
environment: development
version: 0.9.$(appveyor_build_number)
matrix:
- scenario: 2008R2
main_instance: localhost\SQL2008R2SP2
setup_scripts: \tests\appveyor.SQL2008R2SP2.ps1
- scenario: 2016
main_instance: localhost\SQL2016
setup_scripts: \tests\appveyor.SQL2016.ps1
- scenario: 2016_service
main_instance: localhost\SQL2016
setup_scripts: \tests\appveyor.SQL2016.ps1
- scenario: default
main_instance: localhost\SQL2008R2SP2,localhost\SQL2016
setup_scripts: \tests\appveyor.SQL2008R2SP2.ps1,\tests\appveyor.SQL2016.ps1
# Set alternative clone folder
clone_folder: c:\github\dbatools
before_test:
# grab appveyor lab files and needed requirements for tests in CI
- ps: .\Tests\appveyor.prep.ps1
# Setting up the local SQL Server environments
- ps: .\Tests\appveyor.sqlserver.ps1
test_script:
# Test with native PS version
- ps: .\Tests\appveyor.pester.ps1 -IncludeCoverage
# Collecting results
- ps: .\Tests\appveyor.pester.ps1 -Finalize -IncludeCoverage
after_test:
- ps: .\Tests\appveyor.post.ps1
#on_finish:
# - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))