8000 Handle Travis failure on ubuntu · aspnet/Razor@bd871ef · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Dec 19, 2018. It is now read-only.

Commit bd871ef

Browse files
committed
Handle Travis failure on ubuntu
1 parent 0d047d6 commit bd871ef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/Microsoft.AspNetCore.Razor.Design.Test/IntegrationTests/BuildIncrementalismTest.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ public async Task BuildIncremental_SimpleMvc_PersistsTargetInputFile()
3535
Path.Combine(directoryPath, "SimpleMvc.csproj.FileListAbsolute.txt"),
3636
};
3737

38-
if (RuntimeInformation.IsOSPlatform(OSPlatform.OSX))
38+
if (RuntimeInformation.IsOSPlatform(OSPlatform.OSX) || RuntimeInformation.IsOSPlatform(OSPlatform< 5A09 span class="pl-kos x">.Linux))
3939
{
40-
// There is some quirkiness with MsBuild in osx high sierra where it regenerates this file
40+
// There is some quirkiness with MsBuild in unix where it regenerates this file
4141
// even though it shouldn't. This is tracked here https://github.com/aspnet/Razor/issues/2219.
4242
filesToIgnore.Add(Path.Combine(directoryPath, "SimpleMvc.TagHelpers.input.cache"));
4343
}

0 commit comments

Comments
 (0)
0