Handle Travis failure on ubuntu

This commit is contained in:
Ajay Bhargav Baaskaran 2018-04-18 15:46:06 -07:00
parent 0d047d64f3
commit bd871ef9e9
1 changed files with 2 additions and 2 deletions

View File

@ -35,9 +35,9 @@ namespace Microsoft.AspNetCore.Razor.Design.IntegrationTests
Path.Combine(directoryPath, "SimpleMvc.csproj.FileListAbsolute.txt"), Path.Combine(directoryPath, "SimpleMvc.csproj.FileListAbsolute.txt"),
}; };
if (RuntimeInformation.IsOSPlatform(OSPlatform.OSX)) if (RuntimeInformation.IsOSPlatform(OSPlatform.OSX) || RuntimeInformation.IsOSPlatform(OSPlatform.Linux))
{ {
// There is some quirkiness with MsBuild in osx high sierra where it regenerates this file // There is some quirkiness with MsBuild in unix where it regenerates this file
// even though it shouldn't. This is tracked here https://github.com/aspnet/Razor/issues/2219. // even though it shouldn't. This is tracked here https://github.com/aspnet/Razor/issues/2219.
filesToIgnore.Add(Path.Combine(directoryPath, "SimpleMvc.TagHelpers.input.cache")); filesToIgnore.Add(Path.Combine(directoryPath, "SimpleMvc.TagHelpers.input.cache"));
} }