diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000000..aa3e8817e9 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,3 @@ +language: csharp +script: + - pwsh "build-all.ps1" \ No newline at end of file diff --git a/build-all.ps1 b/build-all.ps1 index 4748a7b150..20977f7e3c 100644 --- a/build-all.ps1 +++ b/build-all.ps1 @@ -22,6 +22,10 @@ foreach ($solutionsPath in $solutionsPaths) { $solutionAbsPath = (Join-Path $rootFolder $solutionsPath) Set-Location $solutionAbsPath dotnet build + if (-Not $?) { + Write-Host ("Build failed for the solution: " + $solutionsPath) + exit $LASTEXITCODE + } } Set-Location $rootFolder