-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* scripts * TRAVIS_PULL_REQUEST * another try * TRAVIS_PULL_REQUEST_SLUG * TRAVIS_REPO_SLUG * Swagger to SDK * linter and ruby * not really a slug * pool * indent * strange * URI * env vars * uri * env var * TRAVIS_PULL_REQUEST_SLUG * matrix * Azure OpenAPI name * linter: autorest fix * error handling and PR_ONLY = true * syntax * pipelines. * job name * job name * Names * params, no getStatus.js * No CI, only PR validations. * displayName * revert back * no need to show vars
- Loading branch information
1 parent
29f93fd
commit 90f6af0
Showing
3 changed files
with
93 additions
and
147 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,86 @@ | ||
pool: | ||
vmImage: 'Ubuntu 16.04' | ||
name: "Azure OpenAPI" | ||
|
||
steps: | ||
trigger: none | ||
|
||
- task: Npm@1 | ||
displayName: 'npm install' | ||
inputs: | ||
verbose: false | ||
variables: | ||
TRAVIS: 'true' | ||
TRAVIS_PULL_REQUEST: $(System.PullRequest.PullRequestId) | ||
TRAVIS_REPO_SLUG: $(Build.Repository.Name) | ||
TRAVIS_PULL_REQUEST_SLUG: $(Build.Repository.Name) | ||
TRAVIS_PULL_REQUEST_SHA: $(Build.SourceVersion) | ||
PR_ONLY: 'true' | ||
|
||
jobs: | ||
|
||
- job: "Syntax" | ||
pool: | ||
vmImage: 'Ubuntu 16.04' | ||
steps: | ||
- task: Npm@1 | ||
displayName: 'npm install' | ||
inputs: | ||
verbose: false | ||
- script: 'npm test -- test/syntax.js' | ||
|
||
- job: "Semantic" | ||
pool: | ||
vmImage: 'Ubuntu 16.04' | ||
steps: | ||
- task: Npm@1 | ||
displayName: 'npm install' | ||
inputs: | ||
verbose: false | ||
- script: 'node scripts/semanticValidation.js' | ||
|
||
- job: "ModelValidation" | ||
pool: | ||
vmImage: 'Ubuntu 16.04' | ||
steps: | ||
- task: Npm@1 | ||
displayName: 'npm install' | ||
inputs: | ||
verbose: false | ||
- script: 'node scripts/modelValidation.js' | ||
|
||
- job: "BreakingChange" | ||
pool: | ||
vmImage: 'Ubuntu 16.04' | ||
steps: | ||
- script: 'scripts/install-dotnet.sh' | ||
- task: Npm@1 | ||
displayName: 'npm install' | ||
inputs: | ||
verbose: false | ||
- script: 'node scripts/breaking-change.js' | ||
|
||
- job: "LintDiff" | ||
pool: | ||
vmImage: 'Ubuntu 16.04' | ||
steps: | ||
- task: Npm@1 | ||
displayName: 'npm install' | ||
inputs: | ||
verbose: false | ||
- script: 'scripts/install-dotnet.sh' | ||
- script: 'node scripts/momentOfTruth.js && node scripts/momentOfTruthPostProcessing.js' | ||
|
||
- job: "SDK" | ||
strategy: | ||
matrix: | ||
ruby: | ||
AZURE_SDK_REPO: azure-sdk-for-ruby | ||
java: | ||
AZURE_SDK_REPO: azure-sdk-for-java | ||
javascript: | ||
AZURE_SDK_REPO: azure-sdk-for-js | ||
node: | ||
AZURE_SDK_REPO: azure-sdk-for-node | ||
python: | ||
AZURE_SDK_REPO: azure-sdk-for-python | ||
go: | ||
AZURE_SDK_REPO: azure-sdk-for-go | ||
AZURE_SDK_PARAMS: '-o latest' | ||
pool: | ||
vmImage: 'Ubuntu 16.04' | ||
steps: | ||
- script: "scripts/swagger-to-sdk.sh Azure/$(AZURE_SDK_REPO) -v $(AZURE_SDK_PARAMS)" |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters