Skip to content

Commit

Permalink
Chore: CI with Azure Pipelines
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
mysticatea committed Jun 16, 2019
1 parent aef8ea1 commit 545d61b
Showing 1 changed file with 55 additions and 0 deletions.
55 changes: 55 additions & 0 deletions azure-pipelines.yml
@@ -0,0 +1,55 @@
trigger:
- master

jobs:
- job: tests_on_linux
displayName: Test on Linux
pool:
vmImage: 'Ubuntu-16.04'
strategy:
matrix:
"Node.js 12":
node_version: 12.x
"Node.js 10":
node_version: 10.x
"Node.js 8":
node_version: 8.x
steps:
- task: NodeTool@0
displayName: Install Node.js
inputs:
versionSpec: $(node_version)
- script: npm install
displayName: Install Packages
- script: npm test
displayName: Test
- script: npm run -s coveralls
displayName: Send Coverage

- job: tests_on_windows
displayName: Test on Windows
pool:
vmImage: 'Windows-2019'
steps:
- task: NodeTool@0
displayName: Install Node.js
inputs:
versionSpec: 12.x
- script: npm install
displayName: Install Packages
- script: npm test
displayName: Test

- job: tests_on_macos
displayName: Test on macOS
pool:
vmImage: 'macOS-10.14'
steps:
- task: NodeTool@0
displayName: Install Node.js
inputs:
versionSpec: 12.x
- script: npm install
displayName: Install Packages
- script: npm test
displayName: Test

0 comments on commit 545d61b

Please sign in to comment.