From 9b09af8a00b278cb78903adee88b185fc0e288cd Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Tue, 4 Feb 2020 00:12:42 +0100 Subject: [PATCH] remove python27 from ci --- .drone.jsonnet | 3 +-- .drone.yml | 18 ++++-------------- tox.ini | 6 +++--- 3 files changed, 8 insertions(+), 19 deletions(-) diff --git a/.drone.jsonnet b/.drone.jsonnet index 206e7d6..bfbbc7a 100644 --- a/.drone.jsonnet +++ b/.drone.jsonnet @@ -47,11 +47,10 @@ local PipelineTest = { arch: 'amd64', }, steps: [ - PythonVersion(pyversion='2.7'), PythonVersion(pyversion='3.5'), PythonVersion(pyversion='3.6'), PythonVersion(pyversion='3.7'), - PythonVersion(pyversion='3.8-rc'), + PythonVersion(pyversion='3.8'), { name: 'codecov', image: 'python:3.7', diff --git a/.drone.yml b/.drone.yml index 3421a06..b77798b 100644 --- a/.drone.yml +++ b/.drone.yml @@ -31,16 +31,6 @@ platform: arch: amd64 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 image: python:3.5 commands: @@ -71,11 +61,11 @@ steps: depends_on: - clone -- name: python38-rc-ansible - image: python:3.8-rc +- name: python38-ansible + image: python:3.8 commands: - 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: PY_COLORS: 1 depends_on: @@ -481,6 +471,6 @@ depends_on: --- kind: signature -hmac: b2660b25516b1bb3b643f8590eaf0e8d0e89b58470ff48866b48ba799801644f +hmac: c3ab53cef8f6ed95639ee81e607f79ce45e00f72a301ae4380b4c3bc11865908 ... diff --git a/tox.ini b/tox.ini index c72d5d6..b0121f5 100644 --- a/tox.ini +++ b/tox.ini @@ -1,7 +1,7 @@ [tox] minversion = 3.7.0 envlist = - py{27,35,36,37,38-rc}-ansible{latest,devel} + py{35,36,37,38}-ansible{latest,devel} isolated_build = True @@ -14,5 +14,5 @@ deps = ansiblelatest: ansible ansibledevel: git+https://github.com/ansible/ansible.git commands = - ansible-later --help - pytest ansiblelater/tests/ --cov={toxinidir}/ansiblelater/ --no-cov-on-fail + ansible-later --help + pytest ansiblelater/tests/ --cov={toxinidir}/ansiblelater/ --no-cov-on-fail