mirror of
https://github.com/thegeeklab/ansible-later.git
synced 2024-11-22 12:50:42 +00:00
drone: fix version grep and switch to stretch images for test steps
This commit is contained in:
parent
8b4e6aa9c6
commit
8ff41a8423
20
.drone.yml
20
.drone.yml
@ -4,56 +4,52 @@ name: default
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: test2.7
|
- name: test2.7
|
||||||
image: python:2.7-alpine
|
image: python:2.7-stretch
|
||||||
pull: always
|
pull: always
|
||||||
environment:
|
environment:
|
||||||
PY_COLORS: "1"
|
PY_COLORS: "1"
|
||||||
commands:
|
commands:
|
||||||
- apk add --no-cache openssl-dev libffi-dev build-base
|
|
||||||
- pip install tox -q
|
- 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:
|
when:
|
||||||
event:
|
event:
|
||||||
- push
|
- push
|
||||||
- tag
|
- tag
|
||||||
|
|
||||||
- name: test3.5
|
- name: test3.5
|
||||||
image: python:3.5-alpine
|
image: python:3.5-stretch
|
||||||
pull: always
|
pull: always
|
||||||
environment:
|
environment:
|
||||||
PY_COLORS: "1"
|
PY_COLORS: "1"
|
||||||
commands:
|
commands:
|
||||||
- apk add --no-cache openssl-dev libffi-dev build-base
|
|
||||||
- pip install tox -q
|
- 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:
|
when:
|
||||||
event:
|
event:
|
||||||
- push
|
- push
|
||||||
- tag
|
- tag
|
||||||
|
|
||||||
- name: test3.6
|
- name: test3.6
|
||||||
image: python:3.6-alpine
|
image: python:3.6-stretch
|
||||||
pull: always
|
pull: always
|
||||||
environment:
|
environment:
|
||||||
PY_COLORS: "1"
|
PY_COLORS: "1"
|
||||||
commands:
|
commands:
|
||||||
- apk add --no-cache openssl-dev libffi-dev build-base
|
|
||||||
- pip install tox -q
|
- 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:
|
when:
|
||||||
event:
|
event:
|
||||||
- push
|
- push
|
||||||
- tag
|
- tag
|
||||||
|
|
||||||
- name: test3.7
|
- name: test3.7
|
||||||
image: python:3.7-alpine
|
image: python:3.7-stretch
|
||||||
pull: always
|
pull: always
|
||||||
environment:
|
environment:
|
||||||
PY_COLORS: "1"
|
PY_COLORS: "1"
|
||||||
commands:
|
commands:
|
||||||
- apk add --no-cache openssl-dev libffi-dev build-base
|
|
||||||
- pip install tox -q
|
- 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:
|
when:
|
||||||
event:
|
event:
|
||||||
- push
|
- push
|
||||||
|
Loading…
Reference in New Issue
Block a user