|
|
@ -19,23 +19,25 @@ build1:
|
|
|
|
script:
|
|
|
|
script:
|
|
|
|
- dotnet build
|
|
|
|
- dotnet build
|
|
|
|
|
|
|
|
|
|
|
|
test1:
|
|
|
|
nonreg:
|
|
|
|
stage: test
|
|
|
|
stage: test
|
|
|
|
script:
|
|
|
|
script:
|
|
|
|
- dotnet test
|
|
|
|
- dotnet test
|
|
|
|
|
|
|
|
|
|
|
|
test2:
|
|
|
|
lv2t3sts:
|
|
|
|
stage: test
|
|
|
|
stage: test
|
|
|
|
script:
|
|
|
|
script:
|
|
|
|
- echo "Do another parallel test here"
|
|
|
|
- echo "Do another parallel test here"
|
|
|
|
- echo "For example run a lint test"
|
|
|
|
- echo "For example run a lint test"
|
|
|
|
|
|
|
|
|
|
|
|
deploy1:
|
|
|
|
publish:
|
|
|
|
stage: deploy
|
|
|
|
stage: deploy
|
|
|
|
|
|
|
|
artifacts: bin/Release/netcoreapp2.1/publish/
|
|
|
|
script:
|
|
|
|
script:
|
|
|
|
- dotnet publish --version-suffix ci --configuration Release --ignore-failed-sources
|
|
|
|
- dotnet publish --version-suffix ci --configuration Release --ignore-failed-sources
|
|
|
|
|
|
|
|
|
|
|
|
deploy2:
|
|
|
|
pack:
|
|
|
|
stage: deploy
|
|
|
|
stage: deploy
|
|
|
|
|
|
|
|
artifacts: bin/Release/nuget-host.*.nupkg
|
|
|
|
script:
|
|
|
|
script:
|
|
|
|
- dotnet pack --version-suffix ci --configuration Release --no-restore
|
|
|
|
- dotnet pack --version-suffix ci --configuration Release --no-restore
|
|
|
|