Created
March 30, 2016 18:39
-
-
Save laurentkempe/858c4184ac79a39a87d0d7beb0e4ecb9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Task("Run-Unit-Tests") | |
.IsDependentOn("Build") | |
.Does(() => | |
{ | |
DotCoverCover(tool => { | |
tool.NUnit3(testDlls, new NUnit3Settings { | |
NoResults = true, | |
TeamCity = isOnTeamCity | |
}); | |
}, | |
dotCoverCoverResult, | |
new DotCoverCoverSettings() | |
.WithFilter("+:My.Domain") | |
); | |
}); | |
Task("TeamCity-Import") | |
.WithCriteria(isOnTeamCity) | |
.IsDependentOn("Zip-Files") | |
.Does(() => | |
{ | |
TeamCity.ImportDotCoverCoverage(dotCoverCoverResult); | |
TeamCity.ImportData("ReSharperInspectCode", inspectCodeReport); | |
TeamCity.PublishArtifacts(buildArtifacts); | |
}); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment