Test voor docker python:3.6 en latest
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
30
.drone.yml
30
.drone.yml
@@ -68,6 +68,34 @@ steps:
|
|||||||
|
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
|
type: docker
|
||||||
|
name: docker_python:3.6
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Run unit test
|
||||||
|
image: python:3.6
|
||||||
|
environment:
|
||||||
|
PYTHONPATH: .
|
||||||
|
commands:
|
||||||
|
- pip install python-dateutil
|
||||||
|
- python setup.py test
|
||||||
|
|
||||||
|
---
|
||||||
|
kind: pipeline
|
||||||
|
type: docker
|
||||||
|
name: docker_python:latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Run unit test
|
||||||
|
image: python:latest
|
||||||
|
environment:
|
||||||
|
PYTHONPATH: .
|
||||||
|
commands:
|
||||||
|
- pip install python-dateutil
|
||||||
|
- python --version
|
||||||
|
- python setup.py test
|
||||||
|
---
|
||||||
|
kind: pipeline
|
||||||
type: exec
|
type: exec
|
||||||
name: Build
|
name: Build
|
||||||
|
|
||||||
@@ -108,3 +136,5 @@ depends_on:
|
|||||||
- CentOS8_test
|
- CentOS8_test
|
||||||
- Ubuntu1804_test
|
- Ubuntu1804_test
|
||||||
- Fedora_test
|
- Fedora_test
|
||||||
|
- docker_python:latest
|
||||||
|
- docker_python:3.6
|
||||||
|
Reference in New Issue
Block a user