This commit is contained in:
27
.drone.yml
27
.drone.yml
@@ -10,11 +10,8 @@ platform:
|
||||
|
||||
steps:
|
||||
- name: Run unit test
|
||||
environment:
|
||||
PYTHONPATH: ..
|
||||
commands:
|
||||
- cd src
|
||||
- python3 -m unittest -v lmwsip.tests
|
||||
- python3 tests/main.py
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
@@ -28,11 +25,8 @@ platform:
|
||||
|
||||
steps:
|
||||
- name: Run unit test
|
||||
environment:
|
||||
PYTHONPATH: .
|
||||
commands:
|
||||
- cd src
|
||||
- python3 -m unittest -v lmwsip.tests
|
||||
- python3 tests/main.py
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
@@ -46,11 +40,8 @@ platform:
|
||||
|
||||
steps:
|
||||
- name: Run unit test
|
||||
environment:
|
||||
PYTHONPATH: .
|
||||
commands:
|
||||
- cd src
|
||||
- python3 -m unittest -v lmwsip.tests
|
||||
- python3 tests/main.py
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
@@ -77,12 +68,9 @@ name: docker_python:3.6
|
||||
steps:
|
||||
- name: Run unit test
|
||||
image: python:3.6
|
||||
environment:
|
||||
PYTHONPATH: .
|
||||
commands:
|
||||
- pip install python-dateutil
|
||||
- cd src
|
||||
- python -m unittest -v lmwsip.tests
|
||||
- tests/main.py
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
@@ -92,13 +80,10 @@ name: docker_python:latest
|
||||
steps:
|
||||
- name: Run unit test
|
||||
image: python:latest
|
||||
environment:
|
||||
PYTHONPATH: .
|
||||
commands:
|
||||
- pip install python-dateutil
|
||||
- python --version
|
||||
- cd src
|
||||
- python -m unittest -v lmwsip.tests
|
||||
- python tests/main.py
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
@@ -172,7 +157,7 @@ steps:
|
||||
- >
|
||||
[ $(python -c "import lmwsip; print(lmwsip.__version__)") =
|
||||
$(python setup.py --version) ]
|
||||
- python -m unittest -v lmwsip.tests
|
||||
- python tests/main.py
|
||||
when:
|
||||
branch:
|
||||
- master
|
||||
|
Reference in New Issue
Block a user