-
Notifications
You must be signed in to change notification settings - Fork 8
/
AppVeyor.yml
49 lines (46 loc) · 2.28 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
# --------------------------------------------------------------------------- #
# general configuration
# --------------------------------------------------------------------------- #
version: 1.4.0.{build}
branches:
except:
- net35
skip_tags: true
# --------------------------------------------------------------------------- #
# environment configuration
# --------------------------------------------------------------------------- #
clone_folder: C:\Cube\Cube.FileSystem
image: Visual Studio 2017
nuget:
project_feed: true
disable_publish_on_pr: true
# --------------------------------------------------------------------------- #
# build configuration
# --------------------------------------------------------------------------- #
platform: Any CPU
configuration: Release
before_build:
- ps: Start-FileDownload 'https://ci.appveyor.com/api/projects/clown/7z/artifacts/7z.dll'
- ps: Start-FileDownload 'https://ci.appveyor.com/api/projects/clown/7z/artifacts/7z.sfx'
- nuget sources add -name Cube.Core -source https://ci.appveyor.com/nuget/cube.core
- nuget sources add -name Cube.Images -source https://ci.appveyor.com/nuget/cube.images
- nuget sources add -name Cube.Forms -source https://ci.appveyor.com/nuget/cube.forms
- nuget restore Cube.FileSystem.sln
build:
parallel: true
project: Cube.FileSystem.sln
publish_nuget: true
verbosity: normal
after_build:
- copy /Y ".\7z.*" ".\Tests\bin\Release"
- copy /Y ".\7z.*" ".\Applications\Ice.Tests\bin\Release"
# --------------------------------------------------------------------------- #
# tests configuration
# --------------------------------------------------------------------------- #
test_script:
- ..\packages\OpenCover.4.6.519\tools\OpenCover.Console.exe -register:user -target:"nunit3-console.exe" -targetargs:"Cube.FileSystem.Tests.dll" -targetdir:".\Tests\bin\Release" -hideskipped:All -output:CoverResult1.xml
- ..\packages\OpenCover.4.6.519\tools\OpenCover.Console.exe -register:user -target:"nunit3-console.exe" -targetargs:"Cube.FileSystem.App.Ice.Tests.dll" -targetdir:".\Applications\Ice.Tests\bin\Release" -hideskipped:All -output:CoverResult2.xml
after_test:
- "SET PATH=C:\\Python34;C:\\Python34\\Scripts;%PATH%"
- pip install codecov
- codecov -f "CoverResult1.xml" "CoverResult2.xml"