Skip to content
This repository was archived by the owner on Jun 27, 2019. It is now read-only.

Commit 57f4da7

Browse files
committed
Merge pull request #31 from asbjornu/feature/travis-build
Working Travis build
2 parents b973181 + 4352f44 commit 57f4da7

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ install:
77
- nuget install NUnit.Runners -Version 3.2.1 -OutputDirectory ./src/packages
88
script:
99
- xbuild ./src/GitTools.Core.sln /property:Configuration="Debug" /verbosity:detailed
10-
- mono --debug --runtime=v4.0.30319 ./src/packages/NUnit.ConsoleRunner.3.2.1/tools/nunit3-console.exe ./output/debug/GitTools.Core.Tests/net45/GitTools.Core.Tests.dll
10+
- mono --debug --runtime=v4.0.30319 ./src/packages/NUnit.ConsoleRunner.3.2.1/tools/nunit3-console.exe ./output/debug/GitTools.Core.Tests/net45/GitTools.Core.Tests.dll -where "cat != NoMono"

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ These core libraries may prove useful if you are a library or application with i
1111
![NuGet downloads](https://img.shields.io/nuget/dt/gittools.core.svg)
1212
![Version](https://img.shields.io/nuget/v/gittools.core.svg)
1313
![Pre-release version](https://img.shields.io/nuget/vpre/gittools.core.svg)
14+
[![Build Status](https://travis-ci.org/GitTools/GitTools.Core.svg?branch=master)](https://travis-ci.org/GitTools/GitTools.Core)
1415

1516
## Features
1617
- Repository normalisation

src/GitTools.Core.Tests/Git/GitRepositoryFactoryTests.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ public class GitRepositoryFactoryTests
1919
[Test]
2020
[TestCase(DefaultBranchName, DefaultBranchName)]
2121
[TestCase(SpecificBranchName, SpecificBranchName)]
22+
[Category("NoMono")]
2223
public void WorksCorrectlyWithRemoteRepository(string branchName, string expectedBranchName)
2324
{
2425
var repoName = Guid.NewGuid().ToString();
@@ -119,6 +120,7 @@ public void UpdatesExistingDynamicRepository()
119120
}
120121

121122
[Test]
123+
[Category("NoMono")]
122124
public void PicksAnotherDirectoryNameWhenDynamicRepoFolderTaken()
123125
{
124126
var repoName = Guid.NewGuid().ToString();

0 commit comments

Comments
 (0)