123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899 |
- jobs:
- - job: 'Linux'
- pool:
- vmImage: 'ubuntu-16.04'
- variables:
- python.version: '3.6'
- gh.ref: github.com/jupyterlab/jupyterlab.git
- strategy:
- matrix:
- JS:
- group: 'js'
- testResultsFiles: 'tests/**/junit.xml'
- Integrity:
- group: 'integrity'
- Python:
- group: 'python'
- testResultsFiles: 'junit.xml'
- Usage:
- group: 'usage'
- UsageNoNodeJS:
- group: 'nonode'
- Docs:
- group: 'docs'
- steps:
- - task: UsePythonVersion@0
- inputs:
- versionSpec: '$(python.version)'
- architecture: 'x64'
- - task: Bash@3
- displayName: 'install'
- inputs:
- targetType: 'filePath'
- filePath: ./scripts/ci_install.sh
- - script: python -m pip install virtualenv
- - task: Bash@3
- displayName: 'script'
- inputs:
- targetType: 'filePath'
- filePath: ./scripts/ci_script.sh
- - task: PublishTestResults@2
- displayName: 'publish test results'
- condition: variables['testResultsFiles']
- inputs:
- testResultsFiles: '$(testResultsFiles)'
- testRunTitle: 'Linux - $(group)'
- mergeTestResults: true
- - job: 'Windows'
- pool:
- vmImage: 'vs2017-win2016'
- variables:
- python.version: '3.6'
- strategy:
- matrix:
- JS:
- name: 'javascript'
- testResultsFiles: 'tests/**/junit.xml'
- python.version: '3.5'
- Python:
- name: 'python'
- Integrity:
- name: 'integrity'
- steps:
- - task: UsePythonVersion@0
- displayName: 'install python'
- inputs:
- versionSpec: '$(python.version)'
- architecture: 'x64'
- - script: powershell Set-ItemProperty -Path HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem -Name LongPathsEnabled -Value 1
- displayName: 'set long path'
- - script: 'python -m pip install -U pip'
- displayName: 'upgrade pip'
- - script: 'pip install --upgrade -e ".[test]"'
- displayName: 'install pip deps'
- - script: 'jupyter kernelspec list'
- displayName: 'list kernels'
- - script: 'jlpm versions'
- displayName: 'list jlpm versions'
- - script: 'jlpm config current'
- displayName: 'list jlpm config'
- - script: cmd /E:ON /V:ON /C .\\scripts\\appveyor.cmd
- displayName: 'run tests'
- - task: PublishTestResults@2
- displayName: 'publish results'
- condition: variables['testResultsFiles']
- inputs:
- testResultsFiles: '$(testResultsFiles)'
- testRunTitle: 'Windows - $(name)'
- mergeTestResults: true
- trigger:
- branches:
- include:
- - master
- - 1.x
|