Skip to content

Commit

Permalink
Merge pull request #101 from microsoft/azure-pipelines
Browse files Browse the repository at this point in the history
Set up CI with Azure Pipelines
  • Loading branch information
alexdima committed Jul 12, 2019
2 parents 200350b + 4dd14c0 commit 739afbe
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 14 deletions.
13 changes: 0 additions & 13 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# VSCode TextMate [![Build Status](https://travis-ci.org/Microsoft/vscode-textmate.svg?branch=master)](https://travis-ci.org/Microsoft/vscode-textmate)
# VSCode TextMate [![Build Status](https://dev.azure.com/ms/vscode-textmate/_apis/build/status/microsoft.vscode-textmate?branchName=master)](https://dev.azure.com/ms/vscode-textmate/_build/latest?definitionId=172&branchName=master)

An interpreter for grammar files as defined by TextMate. Supports loading grammar files from JSON or PLIST format. Cross - grammar injections are currently not supported.

Expand Down
20 changes: 20 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# https://docs.microsoft.com/en-us/azure/devops/pipelines/process/templates?view=azure-devops

trigger:
- master

jobs:
- template: build-template.yml
parameters:
name: Linux
vmImage: 'ubuntu-16.04'

- template: build-template.yml
parameters:
name: macOS
vmImage: 'macOS-10.13'

- template: build-template.yml
parameters:
name: Windows
vmImage: 'vs2017-win2016'
24 changes: 24 additions & 0 deletions build-template.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Node.js
# Build a general Node.js project with npm.
# Add steps that analyze code, save build artifacts, deploy, and more:
# https://docs.microsoft.com/azure/devops/pipelines/languages/javascript

parameters:
name: ''
vmImage: ''

jobs:
- job: ${{ parameters.name }}
pool:
vmImage: ${{ parameters.vmImage }}
strategy:
matrix:
node_10_x:
node_version: 10.x
steps:
- task: NodeTool@0
inputs:
versionSpec: $(node_version)
displayName: 'Install Node.js'
- script: npm install
- script: npm test

0 comments on commit 739afbe

Please sign in to comment.