Skip to content

Commit

Permalink
[CI] Attemp2 fixing index compress memory
Browse files Browse the repository at this point in the history
  • Loading branch information
atruskie committed Jun 8, 2018
1 parent 8fd219c commit 65f98f0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions tests/Acoustics.Test/Acoustics.Test.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>TRACE;DEBUG;$(APPVEYOR)</DefineConstants>
<DefineConstants>TRACE;DEBUG</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<CodeAnalysisRuleSet>..\..\style.ruleset</CodeAnalysisRuleSet>
Expand All @@ -36,7 +36,7 @@
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE;$(APPVEYOR)</DefineConstants>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<CodeAnalysisRuleSet>..\..\style.ruleset</CodeAnalysisRuleSet>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,9 +148,10 @@ public static IEnumerable<object[]> ScaleCombinations
var combinations = from s in scales from d in dataSizes select new object[] { s, d };

// these scales uses a lot of memory, our CI server can't handle it, so exclude them
#if APPVEYOR
combinations = combinations.Where(x => !((double)x[0] < 0.4 && (int)x[1] > 100_000));
#endif
if (!string.IsNullOrEmpty(Environment.GetEnvironmentVariable("APPVEYOR")))
{
combinations = combinations.Where(x => !((double)x[0] < 0.4 && (int)x[1] > 100_000));
}

return combinations;
}
Expand Down

0 comments on commit 65f98f0

Please sign in to comment.