-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #21 from z4kn4fein/codecov-test
Codecov test
- Loading branch information
Showing
5 changed files
with
100 additions
and
119 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
2.5.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
deploy: | ||
- provider: NuGet | ||
api_key: | ||
secure: doqtwSE1NadH7pf4jqYifDu4tcXzsNiJtPWOccnbUrhSnIJX+5js7m8z+kV9LNJ2 | ||
|
||
- provider: GitHub | ||
tag: $(build_version) | ||
release: Stashbox v$(build_version) | ||
auth_token: | ||
secure: TaIug8cHioxT2qDznFpGtDinZiDi+20pEMQZUVAATWCvGLG9Y5LrjaxDUQtGyt38 | ||
artifact: /.*\.nupkg/ | ||
|
||
environment: | ||
build_version: '' | ||
|
||
image: Visual Studio 2017 | ||
|
||
configuration: Release | ||
|
||
install: | ||
- ps: | | ||
$env:build_version = Get-Content ".version" | ||
Update-AppveyorBuild -Version "${env:build_version}-${env:APPVEYOR_BUILD_NUMBER}" | ||
before_build: | ||
- ps: . .\patch-version.ps1 "src\stashbox\stashbox.csproj" ${env:build_version} | ||
|
||
build_script: | ||
- msbuild /t:Restore /p:Configuration=%CONFIGURATION% src\stashbox.sln | ||
- msbuild /t:Build /p:Configuration=%CONFIGURATION% src\stashbox.sln | ||
|
||
after_build: | ||
- msbuild /t:Pack /p:IncludeSymbols=true /p:Configuration=%CONFIGURATION% /p:PackageOutputPath=..\..\artifacts src\stashbox\stashbox.csproj | ||
|
||
artifacts: | ||
- path: artifacts\Stashbox.*.nupkg | ||
name: NuGet | ||
|
||
notifications: | ||
- provider: Email | ||
to: | ||
- [email protected] | ||
on_build_success: false | ||
on_build_failure: true | ||
on_build_status_changed: true | ||
|
||
- provider: Slack | ||
auth_token: | ||
secure: /KAOQIEOWc7w1EUl6J01qNam+f+ujntrwh53yJ0zg4qRWsdfWbkjKP2UG7tQDW7/hSVJHqF7Hz/IPdS6Cp5ilsfgH6xYroLB/sawQ/pdC5k= | ||
channel: '#ci' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,126 +1,55 @@ | ||
# master branch | ||
- | ||
branches: | ||
only: | ||
- master | ||
deploy: | ||
- provider: NuGet | ||
server: https://www.myget.org/F/pcsajtai/api/v2/package | ||
symbol_server: https://www.myget.org/F/pcsajtai/symbols/api/v2/package | ||
api_key: | ||
secure: 2bITagXOj2s3bTJaGXh8/iyWtST8OQOFaMM+0GAKgZts9OjCVCiV7C+E/0SYsM6M | ||
|
||
deploy: | ||
- provider: NuGet | ||
api_key: | ||
secure: doqtwSE1NadH7pf4jqYifDu4tcXzsNiJtPWOccnbUrhSnIJX+5js7m8z+kV9LNJ2 | ||
skip_tags: true | ||
|
||
- provider: GitHub | ||
tag: $(build_version) | ||
release: Stashbox v$(build_version) | ||
auth_token: | ||
secure: TaIug8cHioxT2qDznFpGtDinZiDi+20pEMQZUVAATWCvGLG9Y5LrjaxDUQtGyt38 | ||
artifact: /.*\.nupkg/ | ||
pull_requests: | ||
do_not_increment_build_number: true | ||
|
||
environment: | ||
build_version: 2.5.1 | ||
COVERALLS_REPO_TOKEN: | ||
secure: Q9gcbZnzJ5a0YYF6mkr4QoQylIzeQmVytMnIe4WL7aPtb30SdNes7brLkvnXOirt | ||
image: Visual Studio 2017 | ||
|
||
version: $(build_version)-{build} | ||
|
||
skip_tags: true | ||
configuration: Release | ||
|
||
pull_requests: | ||
do_not_increment_build_number: true | ||
|
||
image: Visual Studio 2017 | ||
|
||
configuration: Release | ||
|
||
before_build: | ||
- ps: . .\patch-version.ps1 "src\stashbox\stashbox.csproj" $($env:build_version) | ||
|
||
build_script: | ||
- msbuild /t:Restore /p:Configuration=%CONFIGURATION% src\stashbox.sln | ||
- msbuild /t:Build /p:Configuration=%CONFIGURATION% src\stashbox.sln | ||
|
||
after_build: | ||
- msbuild /t:Pack /p:IncludeSymbols=true /p:Configuration=%CONFIGURATION% /p:PackageOutputPath=..\..\artifacts src\stashbox\stashbox.csproj | ||
|
||
test_script: | ||
- ps: . .\set-debug-type.ps1 "src\stashbox\stashbox.csproj" | ||
- dotnet test src\stashbox.tests\stashbox.tests.csproj -f net45 -c %CONFIGURATION% --no-build | ||
- dotnet test src\stashbox.tests\stashbox.tests.csproj -f netcoreapp1.0 -c %CONFIGURATION% --no-build | ||
- ps: . .\coverage.ps1 | ||
|
||
artifacts: | ||
- path: artifacts\Stashbox.*.nupkg | ||
name: NuGet | ||
|
||
notifications: | ||
- provider: Email | ||
to: | ||
- [email protected] | ||
on_build_success: false | ||
on_build_failure: true | ||
on_build_status_changed: true | ||
install: | ||
- ps: | | ||
$ver = Get-Content ".version" | ||
Update-AppveyorBuild -Version "$ver-preview-${env:APPVEYOR_BUILD_NUMBER}" | ||
- provider: Slack | ||
auth_token: | ||
secure: /KAOQIEOWc7w1EUl6J01qNam+f+ujntrwh53yJ0zg4qRWsdfWbkjKP2UG7tQDW7/hSVJHqF7Hz/IPdS6Cp5ilsfgH6xYroLB/sawQ/pdC5k= | ||
channel: '#ci' | ||
before_build: | ||
- ps: . .\patch-version.ps1 "src\stashbox\stashbox.csproj" ${env:APPVEYOR_BUILD_VERSION} | ||
|
||
# every branch except master | ||
- | ||
branches: | ||
except: | ||
- master | ||
build_script: | ||
- msbuild /t:Restore /p:Configuration=%CONFIGURATION% src\stashbox.sln | ||
- msbuild /t:Build /p:Configuration=%CONFIGURATION% src\stashbox.sln | ||
|
||
deploy: | ||
- provider: NuGet | ||
server: https://www.myget.org/F/pcsajtai/api/v2/package | ||
skip_symbols: true | ||
api_key: | ||
secure: 2bITagXOj2s3bTJaGXh8/iyWtST8OQOFaMM+0GAKgZts9OjCVCiV7C+E/0SYsM6M | ||
after_build: | ||
- msbuild /t:Pack /p:IncludeSymbols=true /p:Configuration=%CONFIGURATION% /p:PackageOutputPath=..\..\artifacts src\stashbox\stashbox.csproj | ||
|
||
environment: | ||
build_version: 2.5.1 | ||
COVERALLS_REPO_TOKEN: | ||
secure: Q9gcbZnzJ5a0YYF6mkr4QoQylIzeQmVytMnIe4WL7aPtb30SdNes7brLkvnXOirt | ||
test_script: | ||
- dotnet test src\stashbox.tests\stashbox.tests.csproj -f net45 -c %CONFIGURATION% --no-build | ||
- dotnet test src\stashbox.tests\stashbox.tests.csproj -f netcoreapp1.0 -c %CONFIGURATION% --no-build | ||
|
||
version: $(build_version)-preview-{build} | ||
after_test: | ||
- ps: . .\set-debug-type.ps1 "src\stashbox\stashbox.csproj" | ||
- ps: . .\coverage.ps1 | ||
|
||
pull_requests: | ||
do_not_increment_build_number: true | ||
|
||
image: Visual Studio 2017 | ||
|
||
configuration: Release | ||
|
||
before_build: | ||
- ps: . .\patch-version.ps1 "src\stashbox\stashbox.csproj" $($env:APPVEYOR_BUILD_VERSION) | ||
|
||
build_script: | ||
- msbuild /t:Restore /p:Configuration=%CONFIGURATION% src\stashbox.sln | ||
- msbuild /t:Build /p:Configuration=%CONFIGURATION% src\stashbox.sln | ||
|
||
after_build: | ||
- msbuild /t:Pack /p:IncludeSymbols=true /p:Configuration=%CONFIGURATION% /p:PackageOutputPath=..\..\artifacts src\stashbox\stashbox.csproj | ||
|
||
test_script: | ||
- ps: . .\set-debug-type.ps1 "src\stashbox\stashbox.csproj" | ||
- dotnet test src\stashbox.tests\stashbox.tests.csproj -f net45 -c %CONFIGURATION% --no-build | ||
- dotnet test src\stashbox.tests\stashbox.tests.csproj -f netcoreapp1.0 -c %CONFIGURATION% --no-build | ||
- ps: . .\coverage.ps1 | ||
|
||
artifacts: | ||
- path: artifacts\Stashbox.*.nupkg | ||
name: NuGet | ||
|
||
notifications: | ||
- provider: Email | ||
to: | ||
- [email protected] | ||
on_build_success: false | ||
on_build_failure: true | ||
on_build_status_changed: true | ||
artifacts: | ||
- path: artifacts\Stashbox.*.nupkg | ||
name: NuGet | ||
|
||
- provider: Slack | ||
auth_token: | ||
secure: /KAOQIEOWc7w1EUl6J01qNam+f+ujntrwh53yJ0zg4qRWsdfWbkjKP2UG7tQDW7/hSVJHqF7Hz/IPdS6Cp5ilsfgH6xYroLB/sawQ/pdC5k= | ||
channel: '#ci' | ||
notifications: | ||
- provider: Email | ||
to: | ||
- [email protected] | ||
on_build_success: false | ||
on_build_failure: true | ||
on_build_status_changed: true | ||
|
||
- provider: Slack | ||
auth_token: | ||
secure: /KAOQIEOWc7w1EUl6J01qNam+f+ujntrwh53yJ0zg4qRWsdfWbkjKP2UG7tQDW7/hSVJHqF7Hz/IPdS6Cp5ilsfgH6xYroLB/sawQ/pdC5k= | ||
channel: '#ci' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters