Skip to content

Commit

Permalink
Add vsts yaml files
Browse files Browse the repository at this point in the history
  • Loading branch information
roblourens committed Jun 9, 2018
1 parent 802ce4d commit 65da915
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .vsts/.vsts-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
phases:
- template: phase.yml
parameters:
name: macOS
queueName: Hosted macOS Preview

- template: phase.yml
parameters:
name: Linux
queueName: Hosted Linux Preview

- template: phase.yml
parameters:
name: Windows
queueName: Hosted VS2017
34 changes: 34 additions & 0 deletions .vsts/phase.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
parameters:
name: ''
queueName: ''

phases:
- phase: ${{ parameters.name }}
queue:
name: ${{ parameters.queueName }}
demands:
- npm
- node.js
steps:
- task: Npm@1
displayName: npm install
inputs:
verbose: false

- task: Gulp@0
displayName: gulp build
inputs:
targets: build
publishJUnitResults: true

- task: Npm@1
displayName: npm test
inputs:
command: custom
verbose: false
customCommand: test

- task: Gulp@0
displayName: gulp tslint
inputs:
targets: tslint

0 comments on commit 65da915

Please sign in to comment.