aspnetcore/.vsts-pipelines/templates/server-tests-steps.yml

21 lines
595 B
YAML

phases:
- template: .vsts-pipelines/templates/phases/default-build.yml@buildtools
parameters:
agentOs: Windows
beforeBuild:
- powershell: "& ./test/update_schema.ps1"
- powershell: Restart-Service w3svc
- template: .vsts-pipelines/templates/phases/default-build.yml@buildtools
parameters:
agentOs: macOS
beforeBuild:
- script: brew install nginx
- template: .vsts-pipelines/templates/phases/default-build.yml@buildtools
parameters:
agentOs: Linux
beforeBuild:
- script: apt-get update
- script: apt-get install libpcre3 libpcre3-dev nginx