CI: change target versions

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
This commit is contained in:
Hiroshi Miura
2020-10-06 13:23:29 +09:00
parent 00f3d2ba3a
commit 1709c49135
4 changed files with 24 additions and 20 deletions

View File

@@ -9,7 +9,11 @@ jobs:
matrix: matrix:
os: [windows-latest, macOS-latest, ubuntu-latest] os: [windows-latest, macOS-latest, ubuntu-latest]
py: [3.6, 3.8] py: [3.6, 3.8]
qtver: [5.7, 5.14.1, 5.15.0] qtver: [5.7, 5.12.8, 5.15.1]
include:
- os: ubuntu-20.04
py: 3.8
qtver: 6.0.0
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v1
with: with:

View File

@@ -3,13 +3,13 @@ sudo: false
language: python language: python
matrix: matrix:
include: include:
- python: 3.7 - python: 3.8
env: TOXENV=check env: TOXENV=check
- python: 3.7 - python: 3.8
env: TOXENV=docs env: TOXENV=docs
- python: 3.7 - python: 3.8
env: env:
TOXENV=py37 TOXENV=py38
PYTEST_ADDOPTS="--remote-data" PYTEST_ADDOPTS="--remote-data"
install: pip install tox-travis install: pip install tox-travis

View File

@@ -19,11 +19,11 @@ jobs:
- job: MatricesGenerator - job: MatricesGenerator
displayName: Matrices Generator displayName: Matrices Generator
pool: pool:
vmImage: 'ubuntu-16.04' vmImage: 'ubuntu-18.04'
steps: steps:
- task: UsePythonVersion@0 - task: UsePythonVersion@0
inputs: inputs:
versionSpec: '3.7' versionSpec: '3.8'
addToPath: true addToPath: true
- bash: python ci/generate_azure_pipelines_matrices.py - bash: python ci/generate_azure_pipelines_matrices.py
name: mtrx name: mtrx
@@ -52,7 +52,7 @@ jobs:
- job: Linux - job: Linux
dependsOn: MatricesGenerator dependsOn: MatricesGenerator
pool: pool:
vmImage: 'ubuntu-16.04' vmImage: 'ubuntu-18.04'
strategy: strategy:
matrix: $[ dependencies.MatricesGenerator.outputs['mtrx.linux'] ] matrix: $[ dependencies.MatricesGenerator.outputs['mtrx.linux'] ]
steps: steps:
@@ -61,7 +61,7 @@ jobs:
- job: LinuxSpecificMirror - job: LinuxSpecificMirror
displayName: Linux (Specific Mirror) displayName: Linux (Specific Mirror)
variables: variables:
PYTHON_VERSION: '3.7' PYTHON_VERSION: '3.8'
QT_VERSION: 5.13.1 QT_VERSION: 5.13.1
HOST: linux HOST: linux
TARGET: android TARGET: android
@@ -69,14 +69,14 @@ jobs:
ARCHDIR: android_armv7 ARCHDIR: android_armv7
QT_BASE_MIRROR: http://mirrors.ocf.berkeley.edu/qt/ QT_BASE_MIRROR: http://mirrors.ocf.berkeley.edu/qt/
pool: pool:
vmImage: 'ubuntu-16.04' vmImage: 'ubuntu-18.04'
steps: steps:
- template: ci/steps.yml - template: ci/steps.yml
- job: LinuxSubArchives - job: LinuxSubArchives
displayName: Linux (subarchive spcified) displayName: Linux (subarchive spcified)
variables: variables:
PYTHON_VERSION: '3.7' PYTHON_VERSION: '3.8'
QT_VERSION: 5.15.0 QT_VERSION: 5.15.0
HOST: linux HOST: linux
TARGET: desktop TARGET: desktop
@@ -84,45 +84,45 @@ jobs:
ARCHDIR: gcc_64 ARCHDIR: gcc_64
SUBARCHIVES: qtbase qttools qt icu SUBARCHIVES: qtbase qttools qt icu
pool: pool:
vmImage: 'ubuntu-16.04' vmImage: 'ubuntu-18.04'
steps: steps:
- template: ci/steps.yml - template: ci/steps.yml
- job: LinuxSrc - job: LinuxSrc
displayName: Linux (source) displayName: Linux (source)
variables: variables:
PYTHON_VERSION: '3.7' PYTHON_VERSION: '3.8'
QT_VERSION: 5.15.0 QT_VERSION: 5.15.0
HOST: linux HOST: linux
TARGET: desktop TARGET: desktop
TOOL_NAME: src TOOL_NAME: src
pool: pool:
vmImage: 'ubuntu-16.04' vmImage: 'ubuntu-18.04'
steps: steps:
- template: ci/steps.yml - template: ci/steps.yml
- job: LinuxExamples - job: LinuxExamples
displayName: Linux (Examples) displayName: Linux (Examples)
variables: variables:
PYTHON_VERSION: '3.7' PYTHON_VERSION: '3.8'
QT_VERSION: 5.15.0 QT_VERSION: 5.15.0
HOST: linux HOST: linux
TARGET: desktop TARGET: desktop
TOOL_NAME: examples TOOL_NAME: examples
pool: pool:
vmImage: 'ubuntu-16.04' vmImage: 'ubuntu-18.04'
steps: steps:
- template: ci/steps.yml - template: ci/steps.yml
- job: LinuxDoc - job: LinuxDoc
displayName: Linux (doc) displayName: Linux (doc)
variables: variables:
PYTHON_VERSION: '3.7' PYTHON_VERSION: '3.8'
QT_VERSION: 5.15.0 QT_VERSION: 5.15.0
HOST: linux HOST: linux
TARGET: desktop TARGET: desktop
TOOL_NAME: doc TOOL_NAME: doc
pool: pool:
vmImage: 'ubuntu-16.04' vmImage: 'ubuntu-18.04'
steps: steps:
- template: ci/steps.yml - template: ci/steps.yml

View File

@@ -15,7 +15,7 @@ known_first_party = aqt
known_third_party = docutils,flake8,pyannotate_runtime,pytest,pytz,requests,setuptools,sphinx,yaml,packaging known_third_party = docutils,flake8,pyannotate_runtime,pytest,pytz,requests,setuptools,sphinx,yaml,packaging
[testenv:check] [testenv:check]
basepython = python3.7 basepython = python3.8
extras = check extras = check
commands = commands =
check-manifest {toxinidir} check-manifest {toxinidir}
@@ -25,7 +25,7 @@ commands =
twine check dist/* twine check dist/*
[testenv:docs] [testenv:docs]
basepython = python3.7 basepython = python3.8
extras = docs extras = docs
commands = commands =
sphinx-build {posargs:-E} -b html docs dist/docs sphinx-build {posargs:-E} -b html docs dist/docs