VSTS support
This commit is contained in:
Родитель
78131e975a
Коммит
ec3abd84dd
|
@ -1,6 +1,7 @@
|
|||
version: 1.0.{build}
|
||||
image: Visual Studio 2017
|
||||
environment:
|
||||
TEST_LANG: json-rpc
|
||||
matrix:
|
||||
- TEST_PROJECT: arm-analysisservices
|
||||
- TEST_PROJECT: arm-authorization
|
||||
|
@ -45,8 +46,8 @@ environment:
|
|||
- TEST_PROJECT: arm-trafficmanager
|
||||
- TEST_PROJECT: arm-web
|
||||
install:
|
||||
- ps: .\install.ps1 -lang $env:TEST_LANG
|
||||
- ps: .\install.ps1
|
||||
build_script:
|
||||
- ps: .\build.ps1 -project $env:TEST_PROJECT -lang $env:TEST_LANG
|
||||
- ps: .\build.ps1
|
||||
test_script:
|
||||
- ps: .\Test.ps1 -project $env:TEST_PROJECT -lang $env:TEST_LANG
|
||||
- ps: .\test.ps1
|
|
@ -1,4 +1,4 @@
|
|||
param([string] $project = "*", [string]$lang)
|
||||
param([string] $project = $env:TEST_PROJECT, [string]$lang = $env:TEST_LANG)
|
||||
|
||||
Import-Module ".\lib.psm1"
|
||||
Import-Module ".\_\tools\autogenForSwaggers\lib.psm1"
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
param ([string] $lang)
|
||||
param (
|
||||
[string] $lang = $env:TEST_LANG,
|
||||
[string] $fork = $env:TEST_FORK,
|
||||
[string] $branch = $env:TEST_BRANCH)
|
||||
|
||||
Import-Module ".\lib.psm1"
|
||||
|
||||
|
@ -33,4 +36,4 @@ $LASTEXITCODE = 0
|
|||
|
||||
.\lang.ps1 -script "install" -lang $lang
|
||||
|
||||
.\init.ps1
|
||||
.\init.ps1 -fork $fork -branch $branch
|
5
test.ps1
5
test.ps1
|
@ -1,4 +1,7 @@
|
|||
param([string] $project = "*", [string] $lang, [string] $TEST_CSM_ORGID_AUTHENTICATION)
|
||||
param(
|
||||
[string] $project = $env:TEST_PROJECT,
|
||||
[string] $lang = $env:TEST_LANG,
|
||||
[string] $TEST_CSM_ORGID_AUTHENTICATION = $env:TEST_CSM_ORGID_AUTHENTICATION)
|
||||
|
||||
Import-Module ".\_\tools\autogenForSwaggers\lib.psm1"
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче