d92c459d90
ycm-core/ycmd#1275 Remap python GoTo* commands ycm-core/ycmd#1274 Migrate to Omnisharp-Roslyn ycm-core/ycmd#1239 Error ID in diagnostic messages ycm-core/ycmd#1267 Clangd extra conf support ycm-core/ycmd#1266 JDT update to 0.40.0 ycm-core/ycmd#1245 Generic (pluggable) LSP completer support ycm-core/ycmd#1263 Support JDT extensions ycm-core/ycmd#1261 Typescript update ycm-core/ycmd#1264 [vimspector](/puremourning/vimspector) configuration ycm-core/ycmd#1262 Multi-user installation ycm-core/ycmd#1243 Migrate to GOPLS ycm-core/ycmd#1249 Support MSVC 16 (VS2019) ycm-core/ycmd#1224 Migrate to RLS
100 lines
3.0 KiB
YAML
100 lines
3.0 KiB
YAML
jobs:
|
|
- job: linux
|
|
displayName: 'Linux'
|
|
pool:
|
|
# List of available software on this image:
|
|
# https://github.com/Microsoft/azure-pipelines-image-generation/blob/master/images/linux/Ubuntu1604-README.md
|
|
vmImage: 'ubuntu-16.04'
|
|
strategy:
|
|
matrix:
|
|
'Python 2.7':
|
|
# Tests are failing on Python 2.7.0 with the exception
|
|
# "TypeError: argument can't be <type 'unicode'>"
|
|
YCM_PYTHON_VERSION: '2.7.1'
|
|
'Python 3.5':
|
|
YCM_PYTHON_VERSION: '3.5.1'
|
|
maxParallel: 2
|
|
variables:
|
|
COVERAGE: true
|
|
# Cannot take advantage of the UsePythonVersion task because headers are
|
|
# missing from the provided Python.
|
|
steps:
|
|
- checkout: self
|
|
submodules: recursive
|
|
- script: ./azure/linux/install_dependencies.sh
|
|
displayName: Install dependencies
|
|
- script: ./azure/run_tests.sh
|
|
displayName: Run tests
|
|
- script: ./azure/send_coverage.sh
|
|
displayName: Send coverage
|
|
env:
|
|
CODECOV_TOKEN: $(CODECOV_TOKEN)
|
|
CODECOV_JOB_NAME: '$(Agent.JobName)'
|
|
- job: macos
|
|
displayName: 'macOS'
|
|
pool:
|
|
# List of available software on this image:
|
|
# https://github.com/Microsoft/azure-pipelines-image-generation/blob/master/images/macos/macos-10.13-Readme.md
|
|
vmImage: 'macOS-10.13'
|
|
strategy:
|
|
matrix:
|
|
'Python 2.7':
|
|
# Prior versions fail to compile with error "ld: library not found for
|
|
# -lSystemStubs"
|
|
YCM_PYTHON_VERSION: '2.7.2'
|
|
'Python 3.5':
|
|
YCM_PYTHON_VERSION: '3.5.1'
|
|
maxParallel: 2
|
|
variables:
|
|
COVERAGE: true
|
|
steps:
|
|
- checkout: self
|
|
submodules: recursive
|
|
- script: ./azure/macos/install_dependencies.sh
|
|
displayName: Install dependencies
|
|
- script: ./azure/run_tests.sh
|
|
displayName: Run tests
|
|
- script: ./azure/send_coverage.sh
|
|
displayName: Send coverage
|
|
env:
|
|
CODECOV_TOKEN: $(CODECOV_TOKEN)
|
|
CODECOV_JOB_NAME: '$(Agent.JobName)'
|
|
- job: windows
|
|
displayName: Windows
|
|
pool:
|
|
# List of available software on this image:
|
|
# https://github.com/microsoft/azure-pipelines-image-generation/blob/master/images/win/Vs2019-Server2019-Readme.md
|
|
vmImage: 'windows-2019'
|
|
strategy:
|
|
matrix:
|
|
# We only test Python 2.7 on 64-bit.
|
|
'Python 2.7 64-bit':
|
|
YCM_PYTHON_VERSION: '2.7'
|
|
YCM_ARCH: x64
|
|
'Python 3.7 32-bit':
|
|
YCM_PYTHON_VERSION: '3.7'
|
|
YCM_ARCH: x86
|
|
'Python 3.7 64-bit':
|
|
YCM_PYTHON_VERSION: '3.7'
|
|
YCM_ARCH: x64
|
|
maxParallel: 3
|
|
variables:
|
|
COVERAGE: true
|
|
steps:
|
|
- checkout: self
|
|
submodules: recursive
|
|
# See https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/tool/use-python-version?view=azure-devops
|
|
# for a description of this task.
|
|
- task: UsePythonVersion@0
|
|
inputs:
|
|
versionSpec: '$(YCM_PYTHON_VERSION)'
|
|
architecture: '$(YCM_ARCH)'
|
|
- script: pip install -r python/test_requirements.txt
|
|
displayName: Install dependencies
|
|
- script: python run_tests.py
|
|
displayName: Run tests
|
|
- script: codecov --name "$(Agent.JobName)"
|
|
displayName: Send coverage
|
|
env:
|
|
CODECOV_TOKEN: $(CODECOV_TOKEN)
|