-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
46 lines (34 loc) · 1.29 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
# CI build definition for https://ci.appveyor.com/project/olegsych/simply-collections
# To learn more, see http://www.appveyor.com/docs/appveyor-yml
version: 0.1.{build}
pull_requests:
do_not_increment_build_number: true
branches:
only:
- master
skip_tags: true
image: Visual Studio 2017
install:
- git submodule update --init --recursive
build_script:
- msbuild simply.collections.sln /m /p:Platform=x86 /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
- msbuild simply.collections.sln /m /p:Platform=x64 /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
test_script:
- vstest.console bin\Win32\test.dll /Platform:x86 /logger:Appveyor
- vstest.console bin\x64\test.dll /Platform:x64 /logger:Appveyor /inIsolation
after_test:
- nuget pack "src\simply.collections.nuspec" -BasePath "src" -OutputDirectory "bin" -Properties "version=%appveyor_build_version%"
artifacts:
- path: bin\*.nupkg
deploy:
- provider: NuGet
api_key:
secure: 236NXQ/p6GSTraxqHTtmNVFcDJlTwDjwxzbdJIcDpk8Lu7hAkz1ThK6eqeVeTMz6
skip_symbols: true
- provider: GitHub
auth_token:
secure: 0odiqbMNXJj+DNBK/pFP5to5mGxy1JfdSpA6dUA233dNgQitI78fjDm5vgmafgpR
artifact: /.*\.nupkg/
nuget:
project_feed: true
account_feed: true