-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathappveyor.yml
More file actions
53 lines (41 loc) · 2.03 KB
/
appveyor.yml
File metadata and controls
53 lines (41 loc) · 2.03 KB
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
49
50
51
52
53
# YAML Reference Guide : https://www.appveyor.com/docs/appveyor-yml/
# Environmental Variables Guide : https://www.appveyor.com/docs/environment-variables/
# YAML Validator : https://ci.appveyor.com/tools/validate-yaml
# AppVeyor Build Pipeline : https://www.appveyor.com/docs/build-configuration/
# GitHub push with tokens : https://www.appveyor.com/docs/how-to/git-push/
# Repo cloned into this folder on the build worker
clone_folder: c:\projects\VMNetworkAdapter
init:
- ps: $Env:repoName = $($env:APPVEYOR_REPO_NAME.Split('/')[1])
# Install script prior to running tests
install:
- ps: . .\tests\setup\install.ps1
# Initiate tests
test_script:
- ps: . .\tests\setup\initiate-tests.ps1
# finalize build
deploy_script:
- ps: . .\tests\setup\deploy.ps1
version: 0.0.0.{build}
# Environment variables for PowerShell Gallery (NuGetAPIKey) and GitHub (GitHubKey) API key for publishing updates
# - The "secure:" value is the Appveyor encryption of the key
# - GitHub update occurs to ensure that the module version is incremented based on the build number
environment:
NuGetApiKey:
secure: 8zTIgzkh0lIeJ+PZRLSS047LFbQqLbbm2YDdqwgTs4ctfGKtZAKQNDyEtn2geNtq
GitHubKey:
secure: BTbC1Dgv/DE7g/n+/emm4FiSiRTjsRYnsqRUiF2NEhuwHvKkS35zCRsFm27g8OR4
CODECOV_TOKEN:
secure: hSsf4xeuX4TrtB0u6R+3ogaz1GQhfRV0yQmzlisNPBUub9ErR47NSlIg3GpfCucpEFZ8P06pCcAN0h2XBDPe5cnBXkRSYboBuP1blEtv7dc=
# Disable automatic builds; Without this, the following error shows up:
# "Specify a project or solution file. The directory does not contain a project or solution file."
build: "off"
max_jobs: 1
# Ignore testing a commit if specific strings used in commit message: updated readme, update readme, update docs, update version, update appveyor
skip_commits:
message: /updated readme.*|update readme.*s|update docs.*|update version.*|update appveyor.*/
files:
- README.md
# There's no need to alter the build number for a Pull Request (PR) since they don't modify anything
pull_requests:
do_not_increment_build_number: true