forked from BSVN/Commons
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathappveyor.yml
More file actions
30 lines (24 loc) · 802 Bytes
/
appveyor.yml
File metadata and controls
30 lines (24 loc) · 802 Bytes
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
version: "{build}"
image: Visual Studio 2019
branches:
only:
- master
- develop
environment:
DOTNET_CLI_TELEMETRY_OPTOUT: 1
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
before_build:
- ps: if ((git rev-parse --is-shallow-repository) -eq $True) { git fetch --unshallow }
- ps: git config remote.origin.fetch "+refs/heads/*:refs/remotes/origin/*"
- ps: git fetch origin
- ps: git branch
- ps: git checkout -q -b newbranch
- ps: git branch
- ps: git checkout -q master
- ps: git merge -q newbranch
- ps: git branch
#- ps: if ((git branch).Contains('master') -eq $False) { git branch master origin/master }
build_script:
- ps: Build/build.ps1 -Script Build/build.cake --currentBranch=$env:APPVEYOR_REPO_BRANCH
test: off #tests handled by cake script
deploy: off #deploy handled by cake script