From 52ae15fb5ff526bfe29ecd626a3ccda13e3adb91 Mon Sep 17 00:00:00 2001 From: clown Date: Wed, 26 Jul 2017 18:17:19 +0900 Subject: [PATCH] Add settings for AppVeyor. --- AppVeyor.yml | 49 +++++++++++++++++++++++++ Applications/Ice.Tests/Packages.config | 2 + Icon.png | Bin 0 -> 2042 bytes Libraries/Cube.FileSystem.csproj | 2 +- NuGet.config | 6 +++ Tests/Packages.config | 2 + 6 files changed, 60 insertions(+), 1 deletion(-) create mode 100644 AppVeyor.yml create mode 100644 Icon.png create mode 100644 NuGet.config diff --git a/AppVeyor.yml b/AppVeyor.yml new file mode 100644 index 00000000..8fb8c16b --- /dev/null +++ b/AppVeyor.yml @@ -0,0 +1,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" \ No newline at end of file diff --git a/Applications/Ice.Tests/Packages.config b/Applications/Ice.Tests/Packages.config index b1827aad..3e54aa7f 100644 --- a/Applications/Ice.Tests/Packages.config +++ b/Applications/Ice.Tests/Packages.config @@ -5,4 +5,6 @@ + + \ No newline at end of file diff --git a/Icon.png b/Icon.png new file mode 100644 index 0000000000000000000000000000000000000000..94cbf2158459b3e9f526e9027b0d95292e5de194 GIT binary patch literal 2042 zcmVS zK~#9!?VE2*Th|%JfA`vi(2#@;iV%MahN_AxwOzN1mYb9cx7$EUwGQ|bFbO>Eb{kQap_$qK z!6f)Yz&P+2up5X-seV33(El9)bD*SDk4dSm8}7}%OkBFt<62kwzlwE}+w z)}^_n7&tAZdLJmy1`)aykSnD+0dxXiS;T#tfqp4fJz(5Y1fd1=wUa5g8MpRAMlfE>WKJ?!SRMHK?@`_>Yw89iY%I zBJ5Crp_Dp$>JUA+pmwb0d-HATD)>~*`1N!u-;lzIvH#ZpG~-h1%kix7!`nVsVM*KW6Q zI3og5qW&b%kd#|S?e*6apS(O!`YYWrV2|5voJyA;%rri~Un%7S{%i+$fPMSm%o%w2 z;Y5DW+zNnyNU1IYH8;u+Um&2iwicj3DfKq+5wOATQLR}6FT4OJPC#X4R+J!sZYk9t zA9{#9_*Z%hc)ebCMMcHe^Yinyj%s`y>gwRb5B28-hXY1NKBK$)*(IglQ z(%RZeNl6J66&1D&==5oL`DKX3^d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$f=QIjfdBvi literal 0 HcmV?d00001 diff --git a/Libraries/Cube.FileSystem.csproj b/Libraries/Cube.FileSystem.csproj index 9c243b26..bedd8b06 100644 --- a/Libraries/Cube.FileSystem.csproj +++ b/Libraries/Cube.FileSystem.csproj @@ -30,7 +30,7 @@ 4 - + ..\..\packages\AlphaFS.2.1.3\lib\net45\AlphaFS.dll diff --git a/NuGet.config b/NuGet.config new file mode 100644 index 00000000..3c80e156 --- /dev/null +++ b/NuGet.config @@ -0,0 +1,6 @@ + + + + + + diff --git a/Tests/Packages.config b/Tests/Packages.config index 947b6f60..e8a7acf6 100644 --- a/Tests/Packages.config +++ b/Tests/Packages.config @@ -3,4 +3,6 @@ + + \ No newline at end of file