+63
-34
lines changedFilter options
+63
-34
lines changed Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
1
-
dist: xenial
2
1
language: csharp
2
+
sudo: required
3
3
mono: none
4
-
dotnet: 2.0.0
4
+
dist: xenial
5
+
dotnet: 2.2.300
5
6
os:
6
7
- linux
7
8
- osx
8
9
9
10
script:
10
11
- dotnet restore
11
12
- dotnet build -c Release --no-restore --framework netstandard2 ./src
12
-
- dotnet test -c Release --no-restore --framework netcoreapp2.0 ./test
13
+
- dotnet test -c Release --no-restore --framework netcoreapp2.1 ./test
Original file line number Diff line number Diff line change
@@ -36,8 +36,6 @@ install:
36
36
- choco install gitversion.portable -y
37
37
- npm install gh-pages -g
38
38
- choco install docfx -y
39
-
- nuget install -OutputDirectory packages -Version 4.6.519 OpenCover
40
-
- nuget install -OutputDirectory packages -Version 0.6.0 coveralls.net
41
39
# No longer signing the assembly
42
40
#- nuget install secure-file -ExcludeVersion
43
41
#- if defined snk_secret secure-file\tools\secure-file -decrypt src\ipfs.ci.snk.enc -secret %snk_secret% -out src\ipfs.dev.snk
@@ -55,10 +53,8 @@ before_build:
55
53
56
54
build_script:
57
55
- dotnet build -c %CONFIGURATION% -p:Version=%GitVersion_MajorMinorPatch% -p:AssemblyVersion=%GitVersion_MajorMinorPatch%
58
-
- dotnet pack -c %CONFIGURATION% --no-build --no-restore -p:Version=%GitVersion_MajorMinorPatch% -p:AssemblyVersion=%GitVersion_MajorMinorPatch%
59
56
60
57
after_build:
61
-
- cmd: appveyor PushArtifact "src\bin\%CONFIGURATION%\Ipfs.Core.%GitVersion_MajorMinorPatch%.nupkg"
62
58
# Build documentation in doc\_site
63
59
- cmd: builddocs.cmd
64
60
- cmd: 7z a -tzip docs.zip doc\_site
@@ -70,17 +66,19 @@ test_script:
70
66
71
67
after_test:
72
68
# Generate coverage report
73
-
- packages\OpenCover.4.6.519\tools\OpenCover.Console.exe
74
-
-register:user -filter:"+[Ipfs*]* -[*Tests]* -[Ipfs.Core]Ipfs.Cryptography.SHA3*"
75
-
-target:"c:\Program Files\dotnet\dotnet.exe"
76
-
-targetargs:"test -c Release --no-build --no-restore --framework netcoreapp2.0 test"
77
-
-output:coverage.xml
78
-
-mergeoutput
79
-
-hideskipped:File
80
-
-oldStyle
81
-
- if defined COVERALLS_REPO_TOKEN
82
-
packages\coveralls.net.0.6.0\tools\csmacnz.coveralls.exe
83
-
--opencover -i ./coverage.xml --useRelativePaths --serviceName appveyor --jobId %APPVEYOR_BUILD_NUMBER%
69
+
- dotnet test -c %CONFIGURATION% -f netcoreapp2.1 --no-build --no-restore test /p:CollectCoverage=true
70
+
- choco install codecov -y
71
+
- codecov -f "test/coverage.opencover.xml"
72
+
- dotnet tool install --global coveralls.net --version 1.0.0
73
+
- if defined COVERALLS_REPO_TOKEN
74
+
csmacnz.coveralls.exe
75
+
--opencover -i test/coverage.opencover.xml --useRelativePaths --serviceName appveyor --jobId %APPVEYOR_BUILD_NUMBER%
76
+
77
+
artifacts:
78
+
- path: 'src/**/*.nupkg'
79
+
name: nupkg
80
+
- path: 'src/**/*.snupkg'
81
+
name: snupkg
84
82
85
83
# publish NuGet package on tag build
86
84
deploy:
Original file line number Diff line number Diff line change
@@ -4,20 +4,21 @@
4
4
<TargetFrameworks>netstandard14;netstandard2;net45</TargetFrameworks>
5
5
<AssemblyName>Ipfs.Core</AssemblyName>
6
6
<RootNamespace>Ipfs</RootNamespace>
7
-
<DocumentationFile>bin\$(Configuration)\$(TargetFramework)\$(AssemblyName).xml</DocumentationFile>
8
-
<DebugType>full</DebugType>
9
-
7
+
<DebugType>portable</DebugType>
8
+
10
9
<!-- developer build is always 0.42 -->
11
10
<AssemblyVersion>0.42</AssemblyVersion>
12
11
<Version>0.42</Version>
13
-
12
+
14
13
<!-- Nuget specs -->
15
14
<PackageId>Ipfs.Core</PackageId>
16
15
<Authors>Richard Schneider</Authors>
17
16
<Title>IPFS Core Objects</Title>
18
-
<Description>Core objects and interfaces for IPFS.
17
+
<Description>
18
+
Core objects and interfaces for IPFS.
19
19
20
-
The InterPlanetary File System is the permanent web. It is a new hypermedia distribution protocol, addressed by content and identities. IPFS enables the creation of completely distributed applications. It aims to make the web faster, safer, and more open.</Description>
20
+
The InterPlanetary File System is the permanent web. It is a new hypermedia distribution protocol, addressed by content and identities. IPFS enables the creation of completely distributed applications. It aims to make the web faster, safer, and more open.
21
+
</Description>
21
22
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
22
23
<PackageReleaseNotes>https://github.com/richardschneider/net-ipfs-core/releases</PackageReleaseNotes>
23
24
<Copyright>© 2015-2018 Richard Schneider</Copyright>
@@ -27,17 +28,37 @@ The InterPlanetary File System is the permanent web. It is a new hypermedia dist
27
28
<PackageProjectUrl>https://github.com/richardschneider/net-ipfs-core</PackageProjectUrl>
28
29
<PackageIconUrl>https://github.com/ipfs/logo/blob/master/platform-icons/osx-menu-bar.png</PackageIconUrl>
29
30
31
+
<GeneratePackageOnBuild Condition=" '$(Configuration)' == 'Release' ">true</GeneratePackageOnBuild>
32
+
<GenerateDocumentationFile>true</GenerateDocumentationFile>
33
+
</PropertyGroup>
34
+
35
+
<PropertyGroup>
36
+
<!-- Optional: Publish the repository URL in the built .nupkg (in the NuSpec <Repository> element) -->
37
+
<PublishRepositoryUrl>true</PublishRepositoryUrl>
38
+
<!-- Optional: Embed source files that are not tracked by the source control manager in the PDB -->
39
+
<EmbedUntrackedSources>false</EmbedUntrackedSources>
40
+
<!-- Optional: Build symbol package (.snupkg) to distribute the PDB containing Source Link -->
41
+
<IncludeSymbols>true</IncludeSymbols>
42
+
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
43
+
<AllowedOutputExtensionsInPackageBuildOutputFolder>.pdb;$(AllowedOutputExtensionsInPackageBuildOutputFolder)</AllowedOutputExtensionsInPackageBuildOutputFolder>
30
44
</PropertyGroup>
31
-
45
+
32
46
<ItemGroup>
33
47
<PackageReference Include="Common.Logging" Version="3.4.1" />
34
48
<PackageReference Include="Common.Logging.Core" Version="3.4.1" />
35
-
<PackageReference Include="Google.Protobuf" Version="3.7.0" />
36
-
<PackageReference Include="Newtonsoft.Json" Version="12.0.1" />
49
+
<PackageReference Include="Google.Protobuf" Version="3.8.0" />
50
+
<PackageReference Include="Newtonsoft.Json" Version="12.0.2" />
37
51
<PackageReference Include="Portable.BouncyCastle" Version="1.8.5" />
38
-
<PackageReference Include="SimpleBase" Version="1.3.1" />
52
+
<PackageReference Include="SimpleBase" Version="1.4.1" />
53
+
<PackageReference Include="Grpc.Tools" Version="1.21.0" PrivateAssets="All" />
54
+
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0-beta2-19270-01" PrivateAssets="All" />
39
55
</ItemGroup>
40
-
56
+
57
+
<ItemGroup>
58
+
<Protobuf Include="**/*.proto" />
59
+
<EmbeddedResource Include="**/*.proto" />
60
+
</ItemGroup>
61
+
41
62
<PropertyGroup Condition=" '$(TargetFramework)' == 'netstandard14'">
42
63
<DefineConstants>NETSTANDARD14</DefineConstants>
43
64
</PropertyGroup>
Original file line number Diff line number Diff line change
@@ -1,17 +1,26 @@
1
1
<Project Sdk="Microsoft.NET.Sdk">
2
2
3
3
<PropertyGroup>
4
-
<TargetFrameworks>net45;netcoreapp1.1;netcoreapp2.0</TargetFrameworks>
4
+
<TargetFrameworks>net45;netcoreapp1.1;netcoreapp2.1</TargetFrameworks>
5
5
6
6
<IsPackable>false</IsPackable>
7
-
<DebugType>full</DebugType>
7
+
<DebugType>portable</DebugType>
8
8
<RootNamespace>Ipfs</RootNamespace>
9
9
</PropertyGroup>
10
10
11
+
<PropertyGroup>
12
+
<!-- https://github.com/tonerdo/coverlet -->
13
+
<!-- Do not collect by default -->
14
+
<CollectCoverage>false</CollectCoverage>
15
+
<CoverletOutputFormat>opencover</CoverletOutputFormat>
16
+
<!--<Exclude>[xunit.*]*</Exclude>-->
17
+
</PropertyGroup>
18
+
11
19
<ItemGroup>
12
-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.9.0" />
13
-
<PackageReference Include="MSTest.TestAdapter" Version="1.4.0" />
14
-
<PackageReference Include="MSTest.TestFramework" Version="1.4.0" />
20
+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.1.1" PrivateAssets="all" />
21
+
<PackageReference Include="MSTest.TestAdapter" Version="1.4.0" PrivateAssets="all" />
22
+
<PackageReference Include="MSTest.TestFramework" Version="1.4.0" PrivateAssets="all" />
23
+
<PackageReference Include="coverlet.msbuild" Version="2.6.2" PrivateAssets="all" />
15
24
</ItemGroup>
16
25
17
26
<ItemGroup>
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4