drone: fix version grep and switch to stretch images for test steps

This commit is contained in:
Robert Kaussow 2018-12-19 12:51:03 +01:00
parent 8b4e6aa9c6
commit 8ff41a8423
1 changed files with 8 additions and 12 deletions

View File

@ -4,56 +4,52 @@ name: default
steps:
- name: test2.7
image: python:2.7-alpine
image: python:2.7-stretch
pull: always
environment:
PY_COLORS: "1"
commands:
- apk add --no-cache openssl-dev libffi-dev build-base
- pip install tox -q
- tox -e $(tox -l | grep py27* | xargs | sed 's/ /,/g') -q
- tox -e $(tox -l | grep py27 | xargs | sed 's/ /,/g') -q
when:
event:
- push
- tag
- name: test3.5
image: python:3.5-alpine
image: python:3.5-stretch
pull: always
environment:
PY_COLORS: "1"
commands:
- apk add --no-cache openssl-dev libffi-dev build-base
- pip install tox -q
- tox -e $(tox -l | grep py35* | xargs | sed 's/ /,/g') -q
- tox -e $(tox -l | grep py35 | xargs | sed 's/ /,/g') -q
when:
event:
- push
- tag
- name: test3.6
image: python:3.6-alpine
image: python:3.6-stretch
pull: always
environment:
PY_COLORS: "1"
commands:
- apk add --no-cache openssl-dev libffi-dev build-base
- pip install tox -q
- tox -e $(tox -l | grep py36* | xargs | sed 's/ /,/g') -q
- tox -e $(tox -l | grep py36 | xargs | sed 's/ /,/g') -q
when:
event:
- push
- tag
- name: test3.7
image: python:3.7-alpine
image: python:3.7-stretch
pull: always
environment:
PY_COLORS: "1"
commands:
- apk add --no-cache openssl-dev libffi-dev build-base
- pip install tox -q
- tox -e $(tox -l | grep py37* | xargs | sed 's/ /,/g') -q
- tox -e $(tox -l | grep py37 | xargs | sed 's/ /,/g') -q
when:
event:
- push