Update .gitlab-ci.yml

master
cldupland 6 years ago
parent 0f70cfdbae
commit e824dccfca

@ -2,21 +2,21 @@ image: microsoft/dotnet:latest
before_script:
- cd TheGameExtreme
- dotnet restore View
- dotnet restore Model
- dotnet restore view
- dotnet restore model
build:
stage : build
script:
- dotnet build -c Release --no-restore View
- dotnet build -c Release --no-restore Model
- dotnet publish -c Release --no-restore -o $CI_PROJECT_DIR/build/release View
- dotnet publish -c Release --no-restore -o $CI_PROJECT_DIR/build/release Model
- dotnet build -c Release --no-restore view
- dotnet build -c Release --no-restore model
- dotnet publish -c Release --no-restore -o $CI_PROJECT_DIR/build/release view
- dotnet publish -c Release --no-restore -o $CI_PROJECT_DIR/build/release model
unit_tests:
stage : test
script:
- dotnet test --no-restore View
- dotnet test --no-restore Model
- dotnet test --no-restore view
- dotnet test --no-restore model
Loading…
Cancel
Save