This repository has been archived by the owner on Dec 20, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 19
/
appveyor.yml
59 lines (54 loc) · 1.48 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
53
54
55
56
57
58
59
version: 1.0.{build}
pull_requests:
do_not_increment_build_number: true
image: Visual Studio 2017
configuration:
- Test
- Release
matrix:
fast_finish: true
assembly_info:
patch: true
file: '**\AssemblyInfo.*'
assembly_version: '{version}'
assembly_file_version: '{version}'
assembly_informational_version: '{version}'
environment:
SHFBROOT: C:\projects\swissarmylib\EWSoftware.SHFB.2017.5.15.0\tools\
SHFB_COMPONENTS: C:\projects\swissarmylib\EWSoftware.SHFB.NETFramework.4.7\tools\
before_build:
- cmd: >-
nuget restore Archon.SwissArmyLib.sln
nuget install EWSoftware.SHFB -Version 2017.5.15
nuget install EWSoftware.SHFB.NETFramework -Version 4.7.0
build:
project: Archon.SwissArmyLib.sln
verbosity: minimal
after_build:
- ps: >-
if ($env:CONFIGURATION -ne "Test") {
jar -cMf "./SwissArmyLib-${env:APPVEYOR_BUILD_VERSION}.zip" -C "./bin/${env:CONFIGURATION}" .
jar -cMf "./SwissArmyLib-${env:APPVEYOR_BUILD_VERSION}-Docs.zip" -C ./Documentation/Help .
}
test:
assemblies:
only:
- Archon.SwissArmyLibTests\bin\Test\*
artifacts:
- path: SwissArmyLib-$(APPVEYOR_BUILD_VERSION).zip
name: Binaries
- path: SwissArmyLib-$(APPVEYOR_BUILD_VERSION)-Docs.zip
name: Docs
deploy:
- provider: BinTray
username: phault
api_key:
secure: ZnJnGS3aRZB0wC9Il38Y/YQLVJnZUhLUkoMh9x8tIGnJXfcjYkCuIBfPokeERMeK
subject: phault
repo: SwissArmyLib
package: development
publish: true
override: true
on:
branch: master
CONFIGURATION: Release