-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
44 lines (33 loc) · 1.25 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
# CI build definition for https://ci.appveyor.com/project/olegsych/simply-assert
# 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
build_script:
- nuget restore
- msbuild simply.assert.sln /m /p:Platform=x86 /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
- msbuild simply.assert.sln /m /p:Platform=x64 /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
test_script:
- vstest.console bin\debug\Win32\test.dll /Platform:x86 /logger:Appveyor
- vstest.console bin\debug\x64\test.dll /Platform:x64 /logger:Appveyor /inIsolation
after_test:
- nuget pack "src\simply.assert.nuspec" -BasePath "src" -OutputDirectory "bin\debug" -Properties "version=%appveyor_build_version%"
artifacts:
- path: bin\debug\*.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