1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980 |
- # https://aka.ms/yaml
- jobs:
- - job: 'Travis'
- pool:
- vmImage: 'ubuntu-16.04' # other options: 'macOS-10.13', 'vs2017-win2016'
- variables:
- python.version: '3.6'
- gh.ref: github.com/jupyterlab/jupyterlab.git
- strategy:
- matrix:
- JS:
- group: 'js'
- Integrity:
- group: 'integrity'
- Python:
- group: 'python'
- CLI:
- group: 'cli'
- python.version: '3.5'
- Docs:
- group: 'docs'
- steps:
- - task: UsePythonVersion@0
- inputs:
- versionSpec: '$(python.version)'
- architecture: 'x64'
- - task: Bash@3
- displayName: 'install'
- inputs:
- targetType: 'filePath'
- filePath: ./scripts/travis_install.sh
- - script: python -m pip install virtualenv
- - task: Bash@3
- displayName: 'script'
- inputs:
- targetType: 'filePath'
- filePath: ./scripts/travis_script.sh
- - task: PublishTestResults@2
- inputs:
- testResultsFiles: '**/junit.xml'
- testRunTitle: '$(group)'
- - task: Bash@3
- displayName: 'after_success'
- inputs:
- targetType: 'filePath'
- filePath: ./scripts/travis_after_success.sh
- - job: 'Appveyor'
- pool:
- vmImage: 'vs2017-win2016'
- variables:
- python.version: '3.6'
- strategy:
- matrix:
- JS:
- name: 'javascript'
- python.version: '3.5'
- Python:
- name: 'python'
- Integrity:
- group: 'integrity'
- steps:
- - task: UsePythonVersion@0
- inputs:
- versionSpec: '$(python.version)'
- architecture: 'x64'
- - script: 'python -m pip install -U pip'
- - script: 'pip install --upgrade -e ".[test]"'
- - script: 'jupyter kernelspec list'
- - script: 'jlpm versions'
- - script: 'jlpm config current'
- - script: cmd /E:ON /V:ON /C .\\scripts\\appveyor.cmd
- - task: PublishTestResults@2
- inputs:
- testResultsFiles: '**/junit.xml'
- testRunTitle: '$(group)'
|