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
8 changes: 8 additions & 0 deletions .travis.yml
Expand Up @@ -3,13 +3,21 @@ notifications:
email: false
language: node_js
node_js:
- "12"
- "10"
- "8"
- "6"
cache:
directories:
- ~/.npm
matrix:
include:
- os: linux
node_js: "12"
env: JOB_PART=lint
- os: linux
node_js: "12"
env: JOB_PART=integration
- os: linux
node_js: "10"
env: JOB_PART=integration
Expand Down
18 changes: 12 additions & 6 deletions azure-pipelines-template.yml
Expand Up @@ -5,6 +5,8 @@ jobs:
strategy:
maxParallel: 3
matrix:
node-12:
node_version: ^12.0.0
node-10:
node_version: ^10.10.0
node-8:
Expand All @@ -13,12 +15,16 @@ jobs:
node_version: ^6.14.4
steps:
- task: NodeTool@0
displayName: "Install Node.js"
inputs:
versionSpec: $(node_version)
displayName: "Install Node.js"
- script: |
npm install -g npm@latest
displayName: "Install npm"
- script: |
node -v
npm -v
displayName: "Print version"
- script: |
npm install
npm run bootstrap
Expand All @@ -27,12 +33,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"