Skip to content

Commit ddbbd12

Browse files
feat(async-stream): use net core 3.0
1 parent e240383 commit ddbbd12

File tree

5 files changed

+387
-383
lines changed

5 files changed

+387
-383
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ language: csharp
22
sudo: required
33
mono: none
44
dist: xenial
5-
dotnet: 2.2.300
5+
dotnet: 3.0
66
os:
77
- linux
88
- osx

appveyor.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ for:
1414
secure: NeX5NCOUXsCLc1UjTJjqB9F02FZ8Wq0VsxqTXC8kBdyK6zjxjebrf/9Da2sY1Kql
1515

1616
configuration: Release
17-
os: Visual Studio 2017
17+
os: Visual Studio 2019
1818

1919
init:
2020
- git config --global core.autocrlf input
@@ -55,8 +55,7 @@ build_script:
5555

5656
after_build:
5757
# Build documentation in doc\_site
58-
# v2.43 is requiring VS 2019!!!
59-
- cmd: choco install docfx -y --version 2.42 --force
58+
- cmd: choco install docfx -y
6059
- cmd: builddocs.cmd
6160
- cmd: 7z a -tzip docs.zip doc\_site
6261
- cmd: appveyor PushArtifact docs.zip
@@ -67,7 +66,7 @@ test_script:
6766

6867
after_test:
6968
# Generate coverage report
70-
- dotnet test -c %CONFIGURATION% -f netcoreapp2.1 --no-build --no-restore test /p:CollectCoverage=true
69+
- dotnet test -c %CONFIGURATION% -f netcoreapp3.0 --no-build --no-restore test /p:CollectCoverage=true
7170
- choco install codecov -y
7271
- codecov -f "test/coverage.opencover.xml"
7372
- dotnet tool install --global coveralls.net --version 1.0.0

src/IpfsCore.csproj

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>netstandard14;netstandard2;net45</TargetFrameworks>
4+
<TargetFrameworks>netstandard14;netstandard2;net45;netcoreapp3.0</TargetFrameworks>
55
<AssemblyName>Ipfs.Core</AssemblyName>
66
<RootNamespace>Ipfs</RootNamespace>
77
<DebugType>portable</DebugType>
@@ -63,4 +63,9 @@
6363
<PropertyGroup Condition=" '$(TargetFramework)' == 'netstandard14'">
6464
<DefineConstants>NETSTANDARD14</DefineConstants>
6565
</PropertyGroup>
66+
67+
<PropertyGroup Condition=" '$(TargetFramework)' == 'netcoreapp3.0'">
68+
<DefineConstants>ASYNCSTREAM</DefineConstants>
69+
</PropertyGroup>
70+
6671
</Project>

test/IpfsCoreTests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net45;netcoreapp1.1;netcoreapp2.1</TargetFrameworks>
4+
<TargetFrameworks>net45;netcoreapp1.1;netcoreapp2.1;netcoreapp3.0</TargetFrameworks>
55

66
<IsPackable>false</IsPackable>
77
<DebugType>portable</DebugType>

0 commit comments

Comments
 (0)