forked from markekraus/AutoDocumentsExample
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
48 lines (37 loc) · 1.29 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
47
48
# See http://www.appveyor.com/docs/appveyor-yml for many more options
# GitVersion Stuff
install:
- choco upgrade gitversion.portable -pre -y
before_build:
- nuget restore
- ps: gitversion /l console /output buildserver /updateAssemblyInfo
# Build worker image (VM template)
image: Visual Studio 2017
# clone directory
clone_folder: C:\MyProjects\AutoDocumentsPlaster
environment:
matrix:
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
PowerShellEdition: PowerShellCore
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
PowerShellEdition: WindowsPowerShell
NugetApiKey:
secure: SDpxSFw0XVd2euHu9IZuYbxz8fXaRf6drEVlDc0u5iGJmonpBbRkIXkeyW3CvyA3
access_token:
secure: LteZRu3lMw2hw+kzXHqihiuUuyYMBx1SrSI0fv00dsPH0JuGOdRM0f2JP0Tm7Ju9
# Allow WMF5 (i.e. PowerShellGallery functionality)
os: WMF 5
# Skip on updates to the readme.
# We can force this by adding [skip ci] or [ci skip] anywhere in commit message
skip_commits:
message: /updated (readme|doc).*|update (readme|doc).*s/
# build cache to preserve files/folders between builds
cache:
- _build-cache -> *.depend.psd1
- C:\ProgramData\chocolatey\lib -> appveyor.yml
- C:\ProgramData\chocolatey\bin -> appveyor.yml
build: false
#Kick off the CI/CD pipeline
test_script:
- ps: . .\build.ps1
- pwsh: . .\build.ps1