azure-pipelines.yml 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. # https://aka.ms/yaml
  2. jobs:
  3. - job: 'Travis'
  4. pool:
  5. vmImage: 'ubuntu-16.04' # other options: 'macOS-10.13', 'vs2017-win2016'
  6. variables:
  7. python.version: '3.6'
  8. gh.ref: github.com/jupyterlab/jupyterlab.git
  9. strategy:
  10. matrix:
  11. JS:
  12. group: 'js'
  13. Integrity:
  14. group: 'integrity'
  15. Python:
  16. group: 'python'
  17. CLI:
  18. group: 'cli'
  19. python.version: '3.5'
  20. Docs:
  21. group: 'docs'
  22. steps:
  23. - task: UsePythonVersion@0
  24. inputs:
  25. versionSpec: '$(python.version)'
  26. architecture: 'x64'
  27. - task: Bash@3
  28. displayName: 'install'
  29. inputs:
  30. targetType: 'filePath'
  31. filePath: ./scripts/travis_install.sh
  32. - script: python -m pip install virtualenv
  33. - task: Bash@3
  34. displayName: 'script'
  35. inputs:
  36. targetType: 'filePath'
  37. filePath: ./scripts/travis_script.sh
  38. - task: PublishTestResults@2
  39. inputs:
  40. testResultsFiles: '**/junit.xml'
  41. testRunTitle: '$(group)'
  42. - task: Bash@3
  43. displayName: 'after_success'
  44. inputs:
  45. targetType: 'filePath'
  46. filePath: ./scripts/travis_after_success.sh
  47. - job: 'Appveyor'
  48. pool:
  49. vmImage: 'vs2017-win2016'
  50. variables:
  51. python.version: '3.6'
  52. strategy:
  53. matrix:
  54. JS:
  55. name: 'javascript'
  56. python.version: '3.5'
  57. Python:
  58. name: 'python'
  59. Integrity:
  60. group: 'integrity'
  61. steps:
  62. - task: UsePythonVersion@0
  63. inputs:
  64. versionSpec: '$(python.version)'
  65. architecture: 'x64'
  66. - script: 'python -m pip install -U pip'
  67. - script: 'pip install --upgrade -e ".[test]"'
  68. - script: 'jupyter kernelspec list'
  69. - script: 'jlpm versions'
  70. - script: 'jlpm config current'
  71. - script: cmd /E:ON /V:ON /C .\\scripts\\appveyor.cmd
  72. - task: PublishTestResults@2
  73. inputs:
  74. testResultsFiles: '**/junit.xml'
  75. testRunTitle: '$(group)'