azure-pipelines.yml 490 B

12345678910111213141516171819202122232425
  1. trigger:
  2. - master
  3. pool:
  4. vmImage: 'Ubuntu-16.04'
  5. demands: npm
  6. steps:
  7. - task: Npm@1
  8. displayName: 'npm install'
  9. inputs:
  10. workingDir: Tools/Gulp
  11. verbose: false
  12. - script: 'gulp typescript-all'
  13. workingDirectory: Tools/Gulp
  14. displayName: 'Build'
  15. - script: |
  16. export DISPLAY=:99
  17. Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
  18. sleep 3 # give xvfb some time to start
  19. gulp tests-validation-virtualscreen
  20. workingDirectory: Tools/Gulp
  21. displayName: 'Visual Tests'