Skip to content

Commit

Permalink
Add build target for netstandard2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mysticmind committed Aug 29, 2017
1 parent a814d81 commit 019a57b
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 13 deletions.
8 changes: 4 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ language: csharp
sudo: required
dist: trusty
mono: none
dotnet: 1.0.3
dotnet: 2.0.0

before_script:
- export DOTNET_CLI_TELEMETRY_OPTOUT=1
- export DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1

# run targeting netstandard1.6
script:
- dotnet restore ./src/ReverseMarkdown.sln --runtime netstandard1.6
- dotnet build ./src/ReverseMarkdown.Test/ReverseMarkdown.Test.csproj --framework netcoreapp1.0 --configuration Release
- dotnet test ./src/ReverseMarkdown.Test/ReverseMarkdown.Test.csproj --framework netcoreapp1.0 --configuration Release
- dotnet restore ./src/ReverseMarkdown.sln --runtime netstandard2.0
- dotnet build ./src/ReverseMarkdown.Test/ReverseMarkdown.Test.csproj --framework netcoreapp2.0 --configuration Release
- dotnet test ./src/ReverseMarkdown.Test/ReverseMarkdown.Test.csproj --framework netcoreapp2.0 --configuration Release
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ branches:
environment:
DOTNET_CLI_TELEMETRY_OPTOUT: true
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
TARGET_BUILD_VERSION: '1.1.0'
TARGET_BUILD_VERSION: '1.2.0'

nuget:
disable_publish_on_pr: true
Expand Down
5 changes: 0 additions & 5 deletions global.json

This file was deleted.

4 changes: 2 additions & 2 deletions src/ReverseMarkdown.Test/ReverseMarkdown.Test.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<PropertyGroup>
<RootNamespace>ReverseMarkdown.Test</RootNamespace>
<AssemblyName>ReverseMarkdown.Test</AssemblyName>
<TargetFrameworks>netcoreapp1.0;net45;net46</TargetFrameworks>
<TargetFrameworks>net45;net46;netcoreapp1.0;netcoreapp2.0</TargetFrameworks>
<PackageId>ReverseMarkdown.Test</PackageId>
</PropertyGroup>
<ItemGroup>
Expand All @@ -11,7 +11,7 @@
<ItemGroup>
<PackageReference Include="xunit" Version="2.2.0-beta5-build3474" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.2.0-beta5-build1225" />
<PackageReference Include="Microsoft.NET.Test.Sdk" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.0.0" />
</ItemGroup>
<ItemGroup>
<Service Include="{82a7f48d-3b50-4b1e-b82e-3ada8210c358}" />
Expand Down
2 changes: 1 addition & 1 deletion src/ReverseMarkdown/ReverseMarkdown.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<Description>ReverseMarkdown is a Html to Markdown converter library in c#</Description>
<VersionPrefix>1.0.0</VersionPrefix>
<Authors>Babu Annamalai</Authors>
<TargetFrameworks>netstandard1.6;net45;net46</TargetFrameworks>
<TargetFrameworks>net45;net46;netstandard1.6;netstandard2.0</TargetFrameworks>
<AssemblyName>ReverseMarkdown</AssemblyName>
<RootNamespace>ReverseMarkdown</RootNamespace>
<PackageId>ReverseMarkdown</PackageId>
Expand Down

0 comments on commit 019a57b

Please sign in to comment.