-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathappveyor.yml
More file actions
59 lines (50 loc) · 1.91 KB
/
appveyor.yml
File metadata and controls
59 lines (50 loc) · 1.91 KB
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
os: Visual Studio 2015
version: 2.0.{build}
# environment:
# COVERALLS_REPO_TOKEN:
# secure: 8JYxwCWszeAaWBr41pD17LB925K7Sk7utvKsIb1qz44i2anf9uLmvh2q0ilMQTBO
pull_requests:
do_not_increment_build_number: false
branches:
only:
- master
#configuration: Release
#platform: Any CPU
assembly_info:
patch: true
file: '**\AssemblyInfo.*'
assembly_version: '{version}'
assembly_file_version: '{version}'
assembly_informational_version: '{version}'
build_script:
- Msbuild.exe redmine-net20-api/redmine-net20-api.csproj /verbosity:minimal /p:BuildNetFX20=true
- Msbuild.exe redmine-net40-api/redmine-net40-api.csproj /verbosity:minimal /p:BuildNetFX40=true
- Msbuild.exe redmine-net40-api-signed/redmine-net40-api-signed.csproj /verbosity:minimal /p:BuildNetFX40=true
- Msbuild.exe redmine-net45-api/redmine-net45-api.csproj /verbosity:minimal /p:BuildNetFX45=true
- Msbuild.exe redmine-net45-api-signed/redmine-net45-api-signed.csproj /verbosity:minimal /p:BuildNetFX45=true
- Msbuild.exe redmine-net451-api/redmine-net451-api.csproj /verbosity:minimal /p:BuildNetFX451=true
- Msbuild.exe redmine-net451-api-signed/redmine-net451-api-signed.csproj /verbosity:minimal /p:BuildNetFX451=true
before_build:
- nuget restore
build:
project: redmine-net-api.sln
publish_nuget: true
verbosity: detailed
after_build:
- ps: nuget pack redmine-net-api.nuspec -Version $env:appveyor_build_version
- ps: nuget pack redmine-net-api-signed.nuspec -Version $env:appveyor_build_version
nuget:
account_feed: true
project_feed: true
test: off
artifacts:
- path: '*.nupkg'
# preserve "packages" directory in the root of build folder but will reset it if packages.config is modified
cache:
- '%USERPROFILE%\.nuget\packages -> **\project.json' # project.json cache
deploy:
- provider: NuGet
api_key:
secure: PojoRMfsSOFs1hOuvSMRfR4+icliUzEg5hzjFjNUO03akBmKjWf22To/DYxSlzd/
artifact: /.*\.nupkg/
skip_symbols: true