remove python27 from ci

This commit is contained in:
Robert Kaussow 2020-02-04 00:12:42 +01:00
parent 53534716af
commit 9b09af8a00
3 changed files with 8 additions and 19 deletions

View File

@ -47,11 +47,10 @@ local PipelineTest = {
arch: 'amd64', arch: 'amd64',
}, },
steps: [ steps: [
PythonVersion(pyversion='2.7'),
PythonVersion(pyversion='3.5'), PythonVersion(pyversion='3.5'),
PythonVersion(pyversion='3.6'), PythonVersion(pyversion='3.6'),
PythonVersion(pyversion='3.7'), PythonVersion(pyversion='3.7'),
PythonVersion(pyversion='3.8-rc'), PythonVersion(pyversion='3.8'),
{ {
name: 'codecov', name: 'codecov',
image: 'python:3.7', image: 'python:3.7',

View File

@ -31,16 +31,6 @@ platform:
arch: amd64 arch: amd64
steps: steps:
- name: python27-ansible
image: python:2.7
commands:
- pip install tox -qq
- tox -e $(tox -l | grep py27 | xargs | sed 's/ /,/g') -q
environment:
PY_COLORS: 1
depends_on:
- clone
- name: python35-ansible - name: python35-ansible
image: python:3.5 image: python:3.5
commands: commands:
@ -71,11 +61,11 @@ steps:
depends_on: depends_on:
- clone - clone
- name: python38-rc-ansible - name: python38-ansible
image: python:3.8-rc image: python:3.8
commands: commands:
- pip install tox -qq - pip install tox -qq
- tox -e $(tox -l | grep py38-rc | xargs | sed 's/ /,/g') -q - tox -e $(tox -l | grep py38 | xargs | sed 's/ /,/g') -q
environment: environment:
PY_COLORS: 1 PY_COLORS: 1
depends_on: depends_on:
@ -481,6 +471,6 @@ depends_on:
--- ---
kind: signature kind: signature
hmac: b2660b25516b1bb3b643f8590eaf0e8d0e89b58470ff48866b48ba799801644f hmac: c3ab53cef8f6ed95639ee81e607f79ce45e00f72a301ae4380b4c3bc11865908
... ...

View File

@ -1,7 +1,7 @@
[tox] [tox]
minversion = 3.7.0 minversion = 3.7.0
envlist = envlist =
py{27,35,36,37,38-rc}-ansible{latest,devel} py{35,36,37,38}-ansible{latest,devel}
isolated_build = True isolated_build = True
@ -14,5 +14,5 @@ deps =
ansiblelatest: ansible ansiblelatest: ansible
ansibledevel: git+https://github.com/ansible/ansible.git ansibledevel: git+https://github.com/ansible/ansible.git
commands = commands =
ansible-later --help ansible-later --help
pytest ansiblelater/tests/ --cov={toxinidir}/ansiblelater/ --no-cov-on-fail pytest ansiblelater/tests/ --cov={toxinidir}/ansiblelater/ --no-cov-on-fail