Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: clemensv <clemensv@microsoft.com>
- Loading branch information
clemensv
committed
Nov 27, 2018
1 parent
a98954c
commit 821d042
Showing
5 changed files
with
50 additions
and
6 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
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,35 @@ | ||
# main branch | ||
version: 0.1.{build} | ||
clone_depth: 15 | ||
|
||
branches: | ||
only: | ||
- master | ||
init: | ||
# Good practise, because Windows line endings are different from Unix/Linux ones | ||
- cmd: git config --global core.autocrlf true | ||
install: | ||
# Install repo specific stuff here | ||
before_build: | ||
# Display .NET Core version | ||
- cmd: dotnet --version | ||
# Display minimal restore text | ||
- cmd: dotnet restore CloudEvents.sln --verbosity m | ||
build_script: | ||
# output will be in ./src/bin/debug/netcoreapp1.1/publish | ||
- cmd: dotnet publish CloudEvents.sln | ||
after_build: | ||
# For once the build has completed | ||
#artifacts: | ||
# - path: '\src\bin\Debug\netcoreapp1.1\publish' | ||
# name: WebSite | ||
# type: WebDeployPackage | ||
test_script: | ||
# restore packages for our unit tests | ||
- cmd: dotnet restore CloudEvents.sln --verbosity m | ||
# run the unit tests (requires changing into the test directory) | ||
- cmd: cd test\CloudNative.CloudEvents.UnitTests | ||
- cmd: dotnet test | ||
on_finish : | ||
# any cleanup in here | ||
deploy: off |
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