forked from HearthSim/Hearthstone-Deck-Tracker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
45 lines (42 loc) · 986 Bytes
/
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
version: 1.8.10.{build}
pull_requests:
do_not_increment_build_number: true
branches:
only:
- master
image: Visual Studio 2017
shallow_clone: true
install:
- ps: Invoke-Expression "./bootstrap.ps1"
build_script:
- ps: >-
$dev = $false
$genArtifacts = (!$Env:APPVEYOR_PULL_REQUEST_NUMBER)
./build-scripts/full.ps1 -version $Env:APPVEYOR_BUILD_VERSION -generateArtifacts $genArtifacts -dev $dev
if (!$dev -and (Test-Path ./builds)) {
Copy-Item ./builds/*/* .
}
test:
categories:
except:
- Web
artifacts:
- path: dev-builds/*/*
name: dev
- path: builds/*/HDT-Installer.exe
name: prod-squirrel
- path: builds/*/*.nupkg
name: prod-squirrel
- path: builds/*/RELEASES
name: prod-squirrel
- path: builds/*/Hearthstone.Deck.Tracker-*.zip
name: prod-portable
- path: HDT-Installer.exe
name: prod-asia
- path: '*.nupkg'
name: prod-asia
- path: RELEASES
name: prod-asia
- path: Hearthstone.Deck.Tracker-*.zip
name: prod-asia
deploy: off