Enabling CoreCLR tests on Travis
This commit is contained in:
parent
96de1dbe4b
commit
3a7c9c73ed
|
|
@ -13,7 +13,7 @@ addons:
|
|||
before_install:
|
||||
- if test "$TRAVIS_OS_NAME" == "osx"; then brew update; brew install icu4c; fi
|
||||
env:
|
||||
- KOREBUILD_DNU_RESTORE_CORECLR=true MONO_THREADS_PER_CPU=2000 MONO_MANAGED_WATCHER=disabled
|
||||
- KOREBUILD_DNU_RESTORE_CORECLR=true MONO_THREADS_PER_CPU=2000 MONO_MANAGED_WATCHER=disabled KOREBUILD_TEST_DNXCORE=true NO_PARALLEL_TEST_PROJECTS=Microsoft.AspNet.Mvc.FunctionalTests
|
||||
mono:
|
||||
- 4.0.5
|
||||
os:
|
||||
|
|
|
|||
|
|
@ -34,8 +34,8 @@ namespace Microsoft.AspNet.Mvc.Razor
|
|||
{
|
||||
var data = new TheoryData<string> { "//" };
|
||||
|
||||
// The following scenarios are not relevant in Mono.
|
||||
if (!TestPlatformHelper.IsMono)
|
||||
// The following scenarios are only relevant on Windows.
|
||||
if (TestPlatformHelper.IsWindows)
|
||||
{
|
||||
data.Add("C:/");
|
||||
data.Add(@"\\");
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
using System.Collections.Generic;
|
||||
using Microsoft.AspNet.Testing.xunit;
|
||||
using Xunit;
|
||||
|
||||
namespace Microsoft.AspNet.Mvc.Razor
|
||||
|
|
@ -173,7 +174,11 @@ namespace Microsoft.AspNet.Mvc.Razor
|
|||
Assert.Equal(viewLocations, expandedViewLocations);
|
||||
}
|
||||
|
||||
[Theory]
|
||||
[ConditionalTheory]
|
||||
[OSSkipCondition(OperatingSystems.Linux,
|
||||
SkipReason = "Invalid culture detection is OS-specific")]
|
||||
[OSSkipCondition(OperatingSystems.MacOSX,
|
||||
SkipReason = "Invalid culture detection is OS-specific")]
|
||||
[MemberData(nameof(ViewLocationExpanderTestData))]
|
||||
public void ExpandViewLocations_IncorrectLocaleContextValue(IEnumerable<string> viewLocations)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue