Update drone voor verplaatsing files
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:
23
.drone.yml
23
.drone.yml
@@ -11,9 +11,10 @@ platform:
|
|||||||
steps:
|
steps:
|
||||||
- name: Run unit test
|
- name: Run unit test
|
||||||
environment:
|
environment:
|
||||||
PYTHONPATH: .
|
PYTHONPATH: ..
|
||||||
commands:
|
commands:
|
||||||
- python3 setup.py test
|
- cd src
|
||||||
|
- python3 -m unittest -v lmwsip.tests
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
@@ -30,7 +31,8 @@ steps:
|
|||||||
environment:
|
environment:
|
||||||
PYTHONPATH: .
|
PYTHONPATH: .
|
||||||
commands:
|
commands:
|
||||||
- python3 setup.py test
|
- cd src
|
||||||
|
- python3 -m unittest -v lmwsip.tests
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
@@ -47,7 +49,8 @@ steps:
|
|||||||
environment:
|
environment:
|
||||||
PYTHONPATH: .
|
PYTHONPATH: .
|
||||||
commands:
|
commands:
|
||||||
- python3 setup.py test
|
- cd src
|
||||||
|
- python3 -m unittest -v lmwsip.tests
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
@@ -64,7 +67,7 @@ steps:
|
|||||||
environment:
|
environment:
|
||||||
PYTHONPATH: .
|
PYTHONPATH: .
|
||||||
commands:
|
commands:
|
||||||
- python3 setup.py test
|
- tox
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
@@ -78,7 +81,8 @@ steps:
|
|||||||
PYTHONPATH: .
|
PYTHONPATH: .
|
||||||
commands:
|
commands:
|
||||||
- pip install python-dateutil
|
- pip install python-dateutil
|
||||||
- python setup.py test
|
- cd src
|
||||||
|
- python -m unittest -v lmwsip.tests
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
@@ -93,7 +97,8 @@ steps:
|
|||||||
commands:
|
commands:
|
||||||
- pip install python-dateutil
|
- pip install python-dateutil
|
||||||
- python --version
|
- python --version
|
||||||
- python setup.py test
|
- cd src
|
||||||
|
- python -m unittest -v lmwsip.tests
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
@@ -108,7 +113,7 @@ platform:
|
|||||||
steps:
|
steps:
|
||||||
- name: Build package files
|
- name: Build package files
|
||||||
commands:
|
commands:
|
||||||
- python3 setup.py sdist bdist_wheel
|
- python3 -m build
|
||||||
|
|
||||||
- name: Versie toevoegen aan download
|
- name: Versie toevoegen aan download
|
||||||
environment:
|
environment:
|
||||||
@@ -150,7 +155,7 @@ steps:
|
|||||||
image: python:3.6
|
image: python:3.6
|
||||||
# Make sure we run the pip installed version
|
# Make sure we run the pip installed version
|
||||||
commands:
|
commands:
|
||||||
- rm -rf lmwsip
|
- rm -rf src
|
||||||
- pip install --extra-index-url https://marceln.org/download/python lmwsip
|
- pip install --extra-index-url https://marceln.org/download/python lmwsip
|
||||||
- python -c "import lmwsip"
|
- python -c "import lmwsip"
|
||||||
- python -c "import lmwsip; print(lmwsip.__version__)"
|
- python -c "import lmwsip; print(lmwsip.__version__)"
|
||||||
|
Reference in New Issue
Block a user