-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathappveyor.yml
36 lines (29 loc) · 1.12 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
os: Visual Studio 2015
install:
- set PATH=C:\Program Files (x86)\MSBuild\14.0\Bin;%PATH%
version: 3.3.{build}
configuration: Release
before_build:
- ps: ComputeClient\UpdateAssemblyInfo.AppVeyor.ps1
build:
project: ComputeClient\ComputeClient.sln
publish_nuget: true
after_build:
- ps: .\Generate-Documentation.ps1
environment:
access_token:
secure: O/sXyJYB0lM0WHQmuoG1LjfB/w9pwx8Pt3HmS13N9MXP7UqbY4/aJvJwemP0tlp2
deploy:
- provider: NuGet
server: https://ci.appveyor.com/nuget/tonybaloney-006rwlljmlay
api_key:
secure: gr5U24o6qj2/SvRX0JOfdQjxT85C0dCAAVWeVT2Aiu0=
on_success:
- git config --global user.email "%APPVEYOR_REPO_COMMIT_AUTHOR_EMAIL%"
- git config --global user.name "%APPVEYOR_REPO_COMMIT_AUTHOR%"
- git config --global credential.helper store
- git config --global push.default simple
- ps: Add-Content "$env:USERPROFILE\.git-credentials" "https://$($env:access_token):x-oauth-basic@github.com`n"
- git add docs/
- IF %APPVEYOR_REPO_BRANCH% == "master" (git commit -m "Updated docs [skip appveyor]")
- IF %APPVEYOR_REPO_BRANCH% == "master" (git push origin HEAD:%APPVEYOR_REPO_BRANCH%)