Skip to content

Commit

Permalink
Add azure pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
PKief committed Jul 28, 2019
1 parent 2f1e5d1 commit 7665d27
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
trigger:
- master

strategy:
matrix:
linux:
imageName: 'ubuntu-16.04'
mac:
imageName: 'macos-10.13'
windows:
imageName: 'vs2017-win2016'

pool:
vmImage: $(imageName)

steps:

- task: NodeTool@0
inputs:
versionSpec: '8.x'
displayName: 'Install Node.js'

- bash: |
/usr/bin/Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
echo ">>> Started xvfb"
displayName: Start xvfb
condition: and(succeeded(), eq(variables['Agent.OS'], 'Linux'))

- bash: |
yarn test
displayName: Run Tests
env:
DISPLAY: ':99.0'

0 comments on commit 7665d27

Please sign in to comment.