Skip to content

Commit

Permalink
Using .net core 2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Ali-BenZarrouk-MB committed Aug 22, 2019
1 parent a9096c1 commit b04fbf4
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 7 deletions.
8 changes: 7 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
language: csharp
solution: csharp-rest-client.sln
mono: none
dotnet: 3.0
sudo: required
dist: xenial
dotnet: 2.2
env:
- VERSION=1.6.1.$TRAVIS_BUILD_NUMBER
stages:
Expand All @@ -16,6 +18,10 @@ jobs:
- cd Tests/UnitTests/MessageBirdUnitTests
- dotnet restore
- dotnet test
- cd ../../MessageBird
- dotnet restore
- dotnet build
- dotnet pack -p:PackageID=MessageBirdStaging -c Release -p:PackageVersion=$VERSION
- stage: deploy
script:
- cd MessageBird
Expand Down
6 changes: 3 additions & 3 deletions MessageBird/MessageBird.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@
<Version>1.6.0.0</Version>
<AssemblyVersion>1.6.0.0</AssemblyVersion>
<LangVersion>4</LangVersion>
<TargetFramework>netcoreapp3.0</TargetFramework>
<TargetFramework>netcoreapp2.2</TargetFramework>
</PropertyGroup>

<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<LangVersion>8.0</LangVersion>
<LangVersion>default</LangVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<LangVersion>8.0</LangVersion>
<LangVersion>default</LangVersion>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Newtonsoft.Json" Version="9.0.1" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<IsPackable>false</IsPackable>
<TargetFramework>netcoreapp3.0</TargetFramework>
<TargetFramework>netcoreapp2.2</TargetFramework>
</PropertyGroup>

<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<LangVersion>8.0</LangVersion>
<LangVersion>default</LangVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<LangVersion>8.0</LangVersion>
<LangVersion>default</LangVersion>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\..\..\MessageBird\MessageBird.csproj" />
Expand Down

0 comments on commit b04fbf4

Please sign in to comment.