Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 16 additions & 16 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,43 +42,43 @@ jobs:
displayName: notify code climate of new build

- template: azure-run-tox-env.yml
parameters: {tox: fix_lint, python: 3.7}
parameters: {tox: fix_lint, python: '3.7'}
- template: azure-run-tox-env.yml
parameters: {tox: docs, python: 3.7}
parameters: {tox: docs, python: '3.7'}
- template: azure-run-tox-env.yml
parameters: {tox: package_description, python: 3.7}
parameters: {tox: package_description, python: '3.7'}

- template: azure-run-tox-env.yml
parameters: {tox: pypy, python: pypy, os: linux}
parameters: {tox: pypy, python: pypy2, os: linux}
- template: azure-run-tox-env.yml
parameters: {tox: pypy3, python: pypy3, os: linux}

- template: azure-run-tox-env.yml
parameters: {tox: py37, python: 3.7, os: windows}
parameters: {tox: py37, python: '3.7', os: windows}
- template: azure-run-tox-env.yml
parameters: {tox: py36, python: 3.6, os: windows}
parameters: {tox: py36, python: '3.6', os: windows}
- template: azure-run-tox-env.yml
parameters: {tox: py35, python: 3.5, os: windows}
parameters: {tox: py35, python: '3.5', os: windows}
- template: azure-run-tox-env.yml
parameters: {tox: py34, python: 3.4, os: windows}
parameters: {tox: py34, python: '3.4', os: windows}
- template: azure-run-tox-env.yml
parameters: {tox: py27, python: 2.7, os: windows}
parameters: {tox: py27, python: '2.7', os: windows}

- template: azure-run-tox-env.yml
parameters: {tox: py37, python: 3.7, os: linux}
parameters: {tox: py37, python: '3.7', os: linux}
- template: azure-run-tox-env.yml
parameters: {tox: py36, python: 3.6, os: linux}
parameters: {tox: py36, python: '3.6', os: linux}
- template: azure-run-tox-env.yml
parameters: {tox: py35, python: 3.5, os: linux}
parameters: {tox: py35, python: '3.5', os: linux}
- template: azure-run-tox-env.yml
parameters: {tox: py34, python: 3.4, os: linux}
parameters: {tox: py34, python: '3.4', os: linux}
- template: azure-run-tox-env.yml
parameters: {tox: py27, python: 2.7, os: linux}
parameters: {tox: py27, python: '2.7', os: linux}

- template: azure-run-tox-env.yml
parameters: {tox: py37, python: 3.7, os: macOs}
parameters: {tox: py37, python: '3.7', os: macOs}
- template: azure-run-tox-env.yml
parameters: {tox: py27, python: 2.7, os: macOs}
parameters: {tox: py27, python: '2.7', os: macOs}

- job: report_coverage
pool: {vmImage: "Ubuntu-16.04"}
Expand Down
13 changes: 4 additions & 9 deletions azure-run-tox-env.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,13 @@ jobs:
TMPDIR: $(Build.BinariesDirectory)
${{ if in(parameters.tox, 'pypy', 'py27', 'py34') }}:
PYTHONWARNINGS: 'ignore:::pip._internal.cli.base_command'
${{ if in(parameters.python, 'pypy', 'pypy3') }}:
python: ${{ parameters.python }}
${{ if notIn(parameters.python, 'pypy', 'pypy3') }}:
python: "python"

steps:
# ensure the required Python versions are available
- ${{ if notIn(parameters.python, 'pypy', 'pypy3') }}:
- task: UsePythonVersion@0
displayName: setup python
inputs:
versionSpec: ${{ parameters.python }}
- task: UsePythonVersion@0
displayName: setup python
inputs:
versionSpec: ${{ parameters.python }}

- script: 'python -c "import sys; print(sys.version); print(sys.executable);"'
displayName: show python information
Expand Down