Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(ci): add node 12 #872

Merged
merged 14 commits into from May 22, 2019
Merged
3 changes: 3 additions & 0 deletions .travis.yml
Expand Up @@ -17,6 +17,9 @@ matrix:
- os: linux
node_js: "stable"
env: JOB_PART=integration
- os: linux
node_js: "12"
env: JOB_PART=integration
- os: linux
node_js: "10"
env: JOB_PART=integration
Expand Down
24 changes: 14 additions & 10 deletions azure-pipelines-template.yml
Expand Up @@ -5,20 +5,24 @@ jobs:
strategy:
maxParallel: 3
matrix:
node-12:
node_version: ^12.0.0
node-10:
node_version: ^10.10.0
node-8:
node_version: ^8.12.0
node-6:
node_version: ^6.14.4
steps:
- task: NodeTool@0
displayName: "Install Node.js"
- task: Npm@1
inputs:
versionSpec: $(node_version)
command: custom
customCommand: i -g npm@latest
displayName: "Install latest NPM"
- script: |
npm install -g npm@latest
displayName: "Install npm"
node -v
npm -v
displayName: "Print version"
- script: |
npm install
npm run bootstrap
Expand All @@ -27,12 +31,12 @@ jobs:
npm run test
displayName: "Run tests"
- task: PublishTestResults@2
displayName: 'Publish Test Results'
inputs:
testResultsFiles: '**junit*.xml'
testResultsFiles: "**junit*.xml"
testRunTitle: TestRun $ {{ parameters.name }} $(node_version)
displayName: "Publish Test Results"
- task: PublishCodeCoverageResults@1
displayName: 'Publish code coverage results'
inputs:
codeCoverageTool: 'cobertura'
summaryFileLocation: '**/coverage/cobertura-coverage.xml'
codeCoverageTool: "cobertura"
summaryFileLocation: "**/coverage/cobertura-coverage.xml"
displayName: "Publish code coverage results"