diff --git a/azure-pipelines.yml b/azure-pipelines.yml new file mode 100644 index 000000000000..a74a810a12b6 --- /dev/null +++ b/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