-
Notifications
You must be signed in to change notification settings - Fork 1
/
appveyor.yml
36 lines (28 loc) · 1.37 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
# See http://www.appveyor.com/docs/appveyor-yml for many more options
# Hardcode clone folder for proper ModuleName casing
clone_folder: c:\projects\MDSTools
environment:
NugetApiKey:
secure: 7Sx66gU/nWGTnFl5alG+JnBdjZ8KXOKQXfMgAE1asCy6v8fn9kwnR8h7xz8Kg4On
GitHubKey:
secure: T5RlUwXxR6ISX0I1ejVWROGVCEzwPjeGgX2mQOnO+et5WYRZkUcAvTFGD1Xp/2O/
# 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: /(update|updated) (readme|docs|version|appveyor).*/
# Do not increment build numbers on pull requests
pull_requests:
do_not_increment_build_number: true
build: false
# Store GitHub credentials & kick off the CI/CD pipeline
test_script:
- git config --global credential.helper store
- ps: Add-Content "$env:USERPROFILE\.git-credentials" "https://$($env:GitHubKey):x-oauth-basic@github.com`n"
- git config --global user.email "Rick-2CA@users.noreply.github.com"
- git config --global user.name "Rick A."
- ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
- ps: . .\Build\build.ps1
on_finish:
- ps: $blockRdp = $false; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))