-
-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy pathappveyor.yml
38 lines (28 loc) · 1.36 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
branches:
only:
- master
skip_tags: true
image: Visual Studio 2019
environment:
global:
OPENCL_DOWNLOAD_URL: "http://registrationcenter-download.intel.com/akdlm/irc_nas/12512/opencl_runtime_16.1.2_x64_setup.msi"
OPENCL_INSTALLER_PATH: C:\Users\appveyor\Downloads\opencl_runtime_16.1.2_x64_setup.msi
cache:
- C:\Users\appveyor\Downloads
configuration: Release
before_build:
- nuget restore KelpNet.sln
build:
parallel: true
project: KelpNet.sln
verbosity: normal
before_test:
- IF NOT EXIST %OPENCL_INSTALLER_PATH% ( appveyor DownloadFile %OPENCL_DOWNLOAD_URL% -FileName %OPENCL_INSTALLER_PATH% )
- IF EXIST %OPENCL_INSTALLER_PATH% ( start /wait msiexec /i %OPENCL_INSTALLER_PATH% /qn /l*v clruntime.log )
- "SET PATH=C:\\Python37-x64;C:\\Python37-x64\\Scripts;%PATH%"
- pip install chainer
test_script:
- .\packages\OpenCover.4.7.1221\tools\OpenCover.Console.exe -filter:"+[KelpNet*]* -[KelpNet.Tests*]*" -register:user -target:"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\TestWindow\vstest.console.exe" -targetargs:"KelpNet.Tests.dll /platform:x64" -targetdir:".\KelpNet.Tests\bin\Release" -excludebyattribute:*.ExcludeFromCodeCoverage* -hideskipped:All -output:Cover_result.xml
after_test:
- pip install codecov
- codecov -f "Cover_result.xml"