Skip to content

Commit

Permalink
Merge pull request #967 from SubPointSolutions/beta
Browse files Browse the repository at this point in the history
SPMeta2 v1.2.110, February 2017
  • Loading branch information
SubPointSupport authored Feb 28, 2017
2 parents b62321d + 691a6ac commit f85e05e
Show file tree
Hide file tree
Showing 158 changed files with 7,614 additions and 3,638 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -220,3 +220,4 @@ FakesAssemblies/
/SPMeta2.v2.ncrunchsolution
/SPMeta2/SPMeta2.Standard/SPMeta2.Standard.csproj.DotSettings
/SPMeta2/SPMeta2/SPMeta2.csproj.DotSettings
/SPMeta2/SubPointSolutions.Docs/Views-Output
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,12 @@ The most comprehensive, enterprise-ready framework for provisioning SharePoint a
* Documented: API samples, guidances and documentation
* Enterprise ready: regression tests, localization, SLA

### Build status
[![Build status](https://ci.appveyor.com/api/projects/status/0ym3fts7hmrdjvy1?svg=true)](https://ci.appveyor.com/project/SubPointSupport/spmeta2)
### Build status
| Branch | Status |
| ------------- | ------------- |
| dev | [![Build status](https://ci.appveyor.com/api/projects/status/0ym3fts7hmrdjvy1/branch/dev?svg=true)](https://ci.appveyor.com/project/SubPointSupport/spmeta2/branch/dev) |
| beta | [![Build status](https://ci.appveyor.com/api/projects/status/0ym3fts7hmrdjvy1/branch/beta?svg=true)](https://ci.appveyor.com/project/SubPointSupport/spmeta2/branch/beta) |
| master| [![Build status](https://ci.appveyor.com/api/projects/status/0ym3fts7hmrdjvy1/branch/master?svg=true)](https://ci.appveyor.com/project/SubPointSupport/spmeta2/branch/master) |

### SPMeta2 in details

Expand Down
199 changes: 33 additions & 166 deletions SPMeta2.sln

Large diffs are not rendered by default.

14 changes: 13 additions & 1 deletion SPMeta2/Build/Build.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,20 @@
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<None Include="build.cake" />
<None Include="build.ps1" />
<None Include="build.cake" />
<None Include="build-v12.cake" />
<None Include="build.json" />
<None Include="build-v12.ps1" />
<None Include="Pester\pester.run.ps1" />
<None Include="Pester\regression.nuget.ps1" />
<None Include="Pester\_install.ps1" />
<None Include="tools\nuget.config" />
<None Include="tools\packages.config" />
<None Include="tools\packages.config.md5sum" />
</ItemGroup>
<ItemGroup>
<Content Include="tools\nuget.exe" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Expand Down
4 changes: 4 additions & 0 deletions SPMeta2/Build/Pester/_install.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@

# initial Pester install
Write-Host "Checking Pester install..." -fore Green
Install-Module -Name Pester -RequiredVersion 4.0.2
32 changes: 32 additions & 0 deletions SPMeta2/Build/Pester/pester.run.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@

Write-Host "Running pester regression..."
$results = Invoke-Pester -Script Pester/regression.nuget.ps1 -PassThru -Quiet

$failedCount = 0;
$passedCount = 0;

foreach($r in $results.TestResult) {

Write-Host "- Test [$($r.Name)] with result:[$($r.Result)]"

switch($r.Result) {
"Failed" {
$failedCount++
};
"Passed" {
$passedCount++
};
}
}

Write-Host "- Failed count:[$failedCount]"
Write-Host "- Passed count:[$passedCount]"

if($failedCount -gt 0) {
throw "[FAIL] Didn't pass Pester regression. Failed tests count:[$failedCount]"
}
else{
if($passedCount -le 0) {
throw "[FAIL] Weird. No tests were passed. Check it, please?"
}
}
Loading

0 comments on commit f85e05e

Please sign in to comment.