Try to fix py34 and py35 builds
Fixing this by switching to tox outside the venv Also adding more python versions
This commit is contained in:
parent
cc66ab1918
commit
0db1f88330
119
.drone.yml
119
.drone.yml
@ -1,5 +1,5 @@
|
|||||||
kind: pipeline
|
kind: pipeline
|
||||||
name: test-python-latest
|
name: test-python3-latest
|
||||||
|
|
||||||
workspace:
|
workspace:
|
||||||
base: /app
|
base: /app
|
||||||
@ -36,9 +36,12 @@ workspace:
|
|||||||
steps:
|
steps:
|
||||||
- name: test
|
- name: test
|
||||||
image: python:3.4
|
image: python:3.4
|
||||||
|
environment:
|
||||||
|
TOXENV: py3
|
||||||
commands:
|
commands:
|
||||||
- python -V
|
- python -V
|
||||||
- make test
|
- pip install tox
|
||||||
|
- tox
|
||||||
|
|
||||||
- name: notify
|
- name: notify
|
||||||
image: drillster/drone-email
|
image: drillster/drone-email
|
||||||
@ -64,9 +67,12 @@ workspace:
|
|||||||
steps:
|
steps:
|
||||||
- name: test
|
- name: test
|
||||||
image: python:3.5
|
image: python:3.5
|
||||||
|
environment:
|
||||||
|
TOXENV: py3
|
||||||
commands:
|
commands:
|
||||||
- python -V
|
- python -V
|
||||||
- make test
|
- pip install tox
|
||||||
|
- tox
|
||||||
|
|
||||||
- name: notify
|
- name: notify
|
||||||
image: drillster/drone-email
|
image: drillster/drone-email
|
||||||
@ -92,9 +98,12 @@ workspace:
|
|||||||
steps:
|
steps:
|
||||||
- name: test
|
- name: test
|
||||||
image: python:3.6
|
image: python:3.6
|
||||||
|
environment:
|
||||||
|
TOXENV: py3
|
||||||
commands:
|
commands:
|
||||||
- python -V
|
- python -V
|
||||||
- make test
|
- pip install tox
|
||||||
|
- tox
|
||||||
|
|
||||||
- name: notify
|
- name: notify
|
||||||
image: drillster/drone-email
|
image: drillster/drone-email
|
||||||
@ -120,9 +129,12 @@ workspace:
|
|||||||
steps:
|
steps:
|
||||||
- name: test
|
- name: test
|
||||||
image: python:3.7
|
image: python:3.7
|
||||||
|
environment:
|
||||||
|
TOXENV: py3
|
||||||
commands:
|
commands:
|
||||||
- python -V
|
- python -V
|
||||||
- make test
|
- pip install tox
|
||||||
|
- tox
|
||||||
|
|
||||||
- name: notify
|
- name: notify
|
||||||
image: drillster/drone-email
|
image: drillster/drone-email
|
||||||
@ -137,49 +149,80 @@ steps:
|
|||||||
when:
|
when:
|
||||||
status: [ changed, failure ]
|
status: [ changed, failure ]
|
||||||
|
|
||||||
# ---
|
---
|
||||||
# kind: pipeline
|
kind: pipeline
|
||||||
# name: test-pypy3.6
|
name: test-pypy3-latest
|
||||||
#
|
|
||||||
# workspace:
|
workspace:
|
||||||
# base: /app
|
base: /app
|
||||||
# path: .
|
path: .
|
||||||
#
|
|
||||||
# steps:
|
steps:
|
||||||
# - name: test
|
- name: test
|
||||||
# image: pypy:3.6
|
image: pypy:3
|
||||||
# commands:
|
environment:
|
||||||
# - python -V
|
TOXENV: pypy3
|
||||||
# # python -m env doesn't exist for pypy
|
commands:
|
||||||
# - pip install virtualenv
|
- pypy3 -V
|
||||||
# - virtualenv env
|
- pip install tox
|
||||||
# - ./env/bin/pip install tox
|
- tox
|
||||||
# - make test
|
|
||||||
#
|
- name: notify
|
||||||
# - name: notify
|
image: drillster/drone-email
|
||||||
# image: drillster/drone-email
|
settings:
|
||||||
# settings:
|
host:
|
||||||
# host:
|
from_secret: SMTP_HOST
|
||||||
# from_secret: SMTP_HOST
|
username:
|
||||||
# username:
|
from_secret: SMTP_USER
|
||||||
# from_secret: SMTP_USER
|
password:
|
||||||
# password:
|
from_secret: SMTP_PASS
|
||||||
# from_secret: SMTP_PASS
|
from: drone@iamthefij.com
|
||||||
# from: drone@iamthefij.com
|
when:
|
||||||
# when:
|
status: [ changed, failure ]
|
||||||
# status: [ changed, failure ]
|
|
||||||
|
---
|
||||||
|
kind: pipeline
|
||||||
|
name: test-pypy3.6
|
||||||
|
|
||||||
|
workspace:
|
||||||
|
base: /app
|
||||||
|
path: .
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: test
|
||||||
|
image: pypy:3.6
|
||||||
|
environment:
|
||||||
|
TOXENV: pypy3
|
||||||
|
commands:
|
||||||
|
- pypy3 -V
|
||||||
|
- pip install tox
|
||||||
|
- tox
|
||||||
|
|
||||||
|
- name: notify
|
||||||
|
image: drillster/drone-email
|
||||||
|
settings:
|
||||||
|
host:
|
||||||
|
from_secret: SMTP_HOST
|
||||||
|
username:
|
||||||
|
from_secret: SMTP_USER
|
||||||
|
password:
|
||||||
|
from_secret: SMTP_PASS
|
||||||
|
from: drone@iamthefij.com
|
||||||
|
when:
|
||||||
|
status: [ changed, failure ]
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
name: tests
|
name: tests
|
||||||
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- test-python-latest
|
- test-python3-latest
|
||||||
- test-python3.4
|
- test-python3.4
|
||||||
- test-python3.5
|
- test-python3.5
|
||||||
- test-python3.6
|
- test-python3.6
|
||||||
- test-python3.7
|
- test-python3.7
|
||||||
# - test-pypy3.6
|
- test-pypy3-latest
|
||||||
|
- test-pypy3.6
|
||||||
|
|
||||||
steps: []
|
steps: []
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user