Merge remote-tracking branch 'origin/master' into kamip/azure-devops

# Conflicts:
#	.devops/azure-pipelines-ci.yml
#	.devops/azure-pipelines-pr.yml
#	azure-pipelines.yml
This commit is contained in:
Kamil Pajdzik 2019-05-13 10:20:40 -07:00
Родитель aafc8e917d 9559246bce
Коммит 3f8895b334
3 изменённых файлов: 135 добавлений и 2 удалений

Просмотреть файл

@ -1,4 +1,67 @@
trigger:
- '*'
jobs:
- job: Check_Everything
pool:
vmImage: 'Ubuntu 16.04'
steps:
- task: Npm@1
displayName: 'npm install'
inputs:
command: custom
verbose: false
customCommand: install
- task: Npm@1
displayName: 'npm run check:everything -- --azure-devops'
inputs:
command: custom
verbose: false
customCommand: run check:everything -- --azure-devops
- job: Test
pool:
vmImage: 'Ubuntu 16.04'
strategy:
matrix:
Node6:
node.version: 6.x
Node8:
node.version: 8.x
Node10:
node.version: 10.x
Node11:
node.version: 11.x
steps:
- task: NodeTool@0
displayName: 'Install Node'
inputs:
versionSpec: $(node.version)
- script: npm install
- task: Npm@1
displayName: 'npm test'
inputs:
command: custom
verbose: false
customCommand: test
- task: PublishTestResults@2
inputs:
testResultsFiles: '$(System.DefaultWorkingDirectory)/test-results.xml'
testRunTitle: 'Test results for JavaScript'
- task: PublishCodeCoverageResults@1
inputs:
codeCoverageTool: Cobertura
summaryFileLocation: '$(System.DefaultWorkingDirectory)/coverage/cobertura-coverage.xml'
reportDirectory: '$(System.DefaultWorkingDirectory)/coverage/'
- job: Build
pool:
vmImage: 'Ubuntu 16.04'
steps:
- task: Npm@1
displayName: 'npm build'
inputs:
command: custom
verbose: false
customCommand: build
- master
jobs:

Просмотреть файл

@ -1,4 +1,75 @@
trigger:
- master
jobs:
- job: Check_Everything
pool:
vmImage: 'Ubuntu 16.04'
steps:
- task: Npm@1
displayName: 'npm install'
inputs:
command: custom
verbose: false
customCommand: install
- task: Npm@1
displayName: 'npm run check:everything -- --azure-devops'
inputs:
command: custom
verbose: false
customCommand: run check:everything -- --azure-devops
- job: Test
pool:
vmImage: 'Ubuntu 16.04'
strategy:
matrix:
Node6:
node.version: 6.x
Node8:
node.version: 8.x
Node10:
node.version: 10.x
Node11:
node.version: 11.x
steps:
- task: NodeTool@0
displayName: 'Install Node'
inputs:
versionSpec: $(node.version)
- script: npm install
- task: Npm@1
displayName: 'npm test'
inputs:
command: custom
verbose: false
customCommand: test
- task: PublishTestResults@2
inputs:
testResultsFiles: '$(System.DefaultWorkingDirectory)/test-results.xml'
testRunTitle: 'Test results for JavaScript'
- task: PublishCodeCoverageResults@1
inputs:
codeCoverageTool: Cobertura
summaryFileLocation: '$(System.DefaultWorkingDirectory)/coverage/cobertura-coverage.xml'
reportDirectory: '$(System.DefaultWorkingDirectory)/coverage/'
- job: Build
pool:
vmImage: 'Ubuntu 16.04'
steps:
- task: Npm@1
displayName: 'npm pack'
inputs:
command: custom
verbose: false
customCommand: pack
- task: CopyFiles@2
displayName: 'Copy Files to: drop'
inputs:
Contents: '*.tgz'
TargetFolder: drop
- task: PublishBuildArtifacts@1
inputs:
pathtoPublish: $(Build.SourcesDirectory)/drop
- '*'
jobs:

Просмотреть файл

@ -1,5 +1,4 @@
# ms-rest-azure-js [![Build Status](https://dev.azure.com/azure-public/adx/_apis/build/status/public.Azure.ms-rest-azure-js)](https://dev.azure.com/azure-public/adx/_build/latest?definitionId=10)
# ms-rest-azure-js [![Build Status](https://dev.azure.com/azure-public/azsdk/_apis/build/status/public.Azure.ms-rest-azure-js%20-%20CI?branchName=master)](https://dev.azure.com/azure-public/azsdk/_build/latest?definitionId=31&branchName=master)
Azure Runtime for isomorphic javascript libraries (that work in the browser and node.js environemnt) generated via [Autorest](https://github.com/Azure/Autorest).
## Requirements