jobs: - job: Build_and_Test displayName: Build and Test condition: succeeded() pool: name: Hosted Ubuntu 1604 strategy: matrix: Python36: python.version: '3.6' Python37: python.version: '3.7' maxParallel: 3 steps: - task: UsePythonVersion@0 displayName: 'Use Python $(python.version)' inputs: versionSpec: '$(python.version)' - script: python -m pip install --upgrade pip displayName: 'Upgrade pip' - script: pip install -r requirements.txt displayName: 'Install requirements' - script: | pytest tests displayName: pytest