Commit 7d560fee authored by Kim Meiser's avatar Kim Meiser 💬
Browse files

.gitlab-ci.yml hinzugefügt.

parent 7cdedf9f
Pipeline #801 canceled with stages
variables:
NUGET_PATH: 'C:\dev\tools\NuGet\nuget.exe'
MSBUILD_PATH: 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\MSBuild.exe'
XUNIT_PATH: packages\xunit.runner.console.2.3.1\tools\net452
UNITTEST_FOLDER: '.\tests\JeoParody.Tests\bin\Release\'
stages:
- build
- test
build_job:
stage: build
only:
- branches
script:
- '& "$env:NUGET_PATH" restore'
- '& "$env:MSBUILD_PATH" /p:Configuration=Release /clp:ErrorsOnly'
artifacts:
expire_in: 2 days
paths:
- '$env:UNITTEST_FOLDER'
- '.\$env:XUNIT_PATH\*.*'
test_job:
stage: test
only:
- branches
script:
- '& "$env:XUNIT_PATH\xunit.console.exe" "$env:UNITTEST_FOLDER\CiCdExample.Tests.dll"'
dependencies:
- build_job
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment