-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
52 lines (41 loc) · 1.63 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
49
50
51
52
# See http://www.appveyor.com/docs/appveyor-yml for many more options
init:
- ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
environment:
NuGetApiKey:
secure: QPlmSJgZZQsZS4aBjAwIIOgyZ+jTyJ01/Ox9icT7f+Tg1bbFeYcVQreMoqAb7l+7
access_token:
secure: 5XdP6pId4p0ZveItsvG+Zv3c3Yv8kXUg3LTGh+R6er9t5sY9Bm+RRlQgMS2glZh5
skip_commits:
message: /Increment version number./
os: "WMF 5"
install:
- ps: Write-Output "Build Number $($env:APPVEYOR_BUILD_NUMBER)"
- ps: Write-Output "Build Version $($env:APPVEYOR_BUILD_VERSION)"
- ps: PowerShell -Command {Get-PackageProvider -Name NuGet -ForceBootstrap -Verbose; Install-Module -Name PowerShellGet -Force -SkipPublisherCheck -Verbose;}
build: off
before_test:
- ps: .\build.ps1
test_script:
# Test with native PS version
# - ps: . .\Tests\appveyor.pester.ps1 -Test
# Finalize pass - collect and upload results
- ps: . .\Tests\appveyor.pester.ps1 -Finalize
branches:
# whitelist
only:
- master
on_success:
- git config --global credential.helper store
- ps: Add-Content "$HOME\.git-credentials" "https://$($env:access_token):x-oauth-basic@github.com`n"
- git config --global user.email "adam.birds@adbtechltd.co.uk"
- git config --global user.name "Adam Birds"
- git checkout master
- git add --all
- git status
- git commit -s -m "Increment version number."
- git status
- git push origin master
- git status
# on_finish:
# - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))