Skip to content

Commit 835493e

Browse files
author
Artur Stolear
committed
running the tests using dotnet test
1 parent 33c1519 commit 835493e

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

build.cake

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,9 @@ Task("Run-Tests")
142142
{
143143
var settings = new DotNetCoreTestSettings
144144
{
145-
Configuration = configuration,
146-
NoBuild = true,
145+
Configuration = configuration,
146+
NoBuild = true,
147+
Filter = "TestCategory!=NoMono"
147148
};
148149

149150
DotNetCoreTest("./src/GitVersionCore.Tests/GitVersionCore.Tests.csproj", settings);
@@ -474,10 +475,8 @@ Task("Upload-AppVeyor-Artifacts")
474475
Error(exception.Dump());
475476
});
476477

477-
478-
479478
Task("Travis")
480-
.IsDependentOn("Run-Tests-In-NUnitConsole");
479+
.IsDependentOn("Run-Tests");
481480

482481
Task("Default")
483482
.IsDependentOn("Upload-AppVeyor-Artifacts");

0 commit comments

Comments
 (0)