Skip to content

Commit feab839

Browse files
committed
2020-11-01 Update: Updated Travis CI config
1 parent 2ee38a5 commit feab839

File tree

3 files changed

+11
-9
lines changed

3 files changed

+11
-9
lines changed

.travis.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
language: csharp
2-
solution: codewars-c-sharp.sln
2+
sudo: required
3+
dist: trusty
4+
mono: none
5+
dotnet: 3.1
36

4-
install:
5-
- nuget restore codewars-c-sharp.sln
6-
- nuget install NUnit.Console -Version 3.9.0 -OutputDirectory testrunner
7+
before_script:
8+
- dotnet restore
79

8-
script:
9-
- msbuild /p:Configuration=release codewars-c-sharp.sln
10-
- mono ./testrunner/NUnit.ConsoleRunner.3.9.0/tools/nunit3-console.exe ./codewars-c-sharp.Tests/bin/Release/codewars-c-sharp.Tests.dll
10+
script:
11+
- dotnet test ./codewars-c-sharp.sln

codewars-c-sharp.sln

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ Global
1313
Release|x64 = Release|x64
1414
EndGlobalSection
1515
GlobalSection(ProjectConfigurationPlatforms) = postSolution
16-
{BBC3CE70-BAA5-4EFB-AEAE-C68501FCCB99}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
17-
{BBC3CE70-BAA5-4EFB-AEAE-C68501FCCB99}.Debug|Any CPU.Build.0 = Debug|Any CPU
16+
{BBC3CE70-BAA5-4EFB-AEAE-C68501FCCB99}.Debug|Any CPU.ActiveCfg = Debug|x64
17+
{BBC3CE70-BAA5-4EFB-AEAE-C68501FCCB99}.Debug|Any CPU.Build.0 = Debug|x64
1818
{BBC3CE70-BAA5-4EFB-AEAE-C68501FCCB99}.Debug|x64.ActiveCfg = Debug|x64
1919
{BBC3CE70-BAA5-4EFB-AEAE-C68501FCCB99}.Debug|x64.Build.0 = Debug|x64
2020
{BBC3CE70-BAA5-4EFB-AEAE-C68501FCCB99}.Release|Any CPU.ActiveCfg = Release|Any CPU

codewars-c-sharp/codewars-c-sharp.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
<TargetFramework>netcoreapp3.1</TargetFramework>
66
<RootNamespace>codewars_c_sharp</RootNamespace>
77
<Platforms>AnyCPU;x64</Platforms>
8+
<TestProjectType>UnitTest</TestProjectType>
89
</PropertyGroup>
910

1011
<ItemGroup>

0 commit comments

Comments
 (0)