forked from opentween/OpenTween
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
37 lines (26 loc) · 1.09 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
version: 1.3.6.{build}
os: Visual Studio 2015
assembly_info:
patch: true
file: OpenTween\Properties\AssemblyInfo.cs
assembly_file_version: '{version}'
build:
project: OpenTween.sln
verbosity: minimal
cache:
- ./packages/
before_build:
- nuget restore
install:
- set PATH=C:\Program Files (x86)\MSBuild\14.0\Bin;%PATH%
test_script:
- .\packages\OpenCover.4.6.519\tools\OpenCover.Console.exe -target:".\packages\xunit.runner.console.2.2.0\tools\xunit.console.exe" -targetargs:".\OpenTween.Tests\bin\Debug\OpenTween.Tests.dll -noshadow -appveyor" -register:user -filter:"+[OpenTween*]* -[OpenTween.Tests]*" -excludebyfile:"*.Designer.cs" -skipautoprops -hideskipped:All -returntargetcode -output:coverage.xml
after_test:
- npm install codecov --save
- ./node_modules/.bin/codecov -f coverage.xml
- del %APPVEYOR_BUILD_FOLDER%\OpenTween\bin\Debug\OpenTween.pdb
- 7z a OpenTween_dev-%APPVEYOR_BUILD_NUMBER%.zip %APPVEYOR_BUILD_FOLDER%\OpenTween\bin\Debug\*
artifacts:
- name: OpenTween.zip
path: OpenTween_dev-$(APPVEYOR_BUILD_NUMBER).zip
# vim: et fenc=utf-8 sts=2 sw=2 ts=2