forked from DevExpress/AjaxControlToolkit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
51 lines (31 loc) · 1.02 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
version: '{build}'
os: Visual Studio 2013
init:
- git config --global core.autocrlf true
cache:
- packages -> **\packages.config
before_build:
- ps: nuget restore
build:
project: AjaxControlToolkit.sln
verbosity: minimal
test:
assemblies: bin\AjaxControlToolkit.Tests.dll
environment:
GitHubAccessToken:
secure: BTxryhieXviqZEIP/spJN05bl3v6ivYF943Cg2TucWJIL/MLvYMAsZiEQ9lyt6Gw
on_success:
- ps: >-
if([string]::IsNullOrEmpty($env:APPVEYOR_PULL_REQUEST_NUMBER))
{
git config --global credential.helper store
Add-Content "$env:USERPROFILE\.git-credentials" "https://$($env:GitHubAccessToken):x-oauth-basic@github.com`n"
git config --global user.email "$env:GitUserEmail"
git config --global user.name "$env:GitUserName"
git clone -q $env:WikiRepoUrl $env:WikiRepoPath
& "$env:APPVEYOR_BUILD_FOLDER\$env:WikiUpdaterPath" $env:WikiRepoPath
cd $env:WikiRepoPath
git config core.autocrlf false
git commit -q -m "Reference update" -a
git push origin master -q
}