.drone: Yamllint correcties
This commit is contained in:
25
.drone.yml
25
.drone.yml
@@ -114,7 +114,17 @@ steps:
|
|||||||
commands:
|
commands:
|
||||||
- mkdir -p "$${DOWNLOADDIR}"
|
- mkdir -p "$${DOWNLOADDIR}"
|
||||||
- cd dist
|
- cd dist
|
||||||
- for f in *;do if [ -f "$${DOWNLOADDIR}/$${f}" ] ; then echo version error;exit 1;else cp "$${f}" "$${DOWNLOADDIR}";fi;done
|
- |
|
||||||
|
for f in *
|
||||||
|
do
|
||||||
|
if [ -f "$${DOWNLOADDIR}/$${f}" ]
|
||||||
|
then
|
||||||
|
echo version error
|
||||||
|
exit 1
|
||||||
|
else
|
||||||
|
cp "$${f}" "$${DOWNLOADDIR}"
|
||||||
|
fi
|
||||||
|
done
|
||||||
- ls -l "$${DOWNLOADDIR}"
|
- ls -l "$${DOWNLOADDIR}"
|
||||||
when:
|
when:
|
||||||
branch:
|
branch:
|
||||||
@@ -139,11 +149,22 @@ steps:
|
|||||||
# Make sure we run the pip installed version
|
# Make sure we run the pip installed version
|
||||||
commands:
|
commands:
|
||||||
- rm -rf ddOperApi
|
- rm -rf ddOperApi
|
||||||
# - pip install --extra-index-url https://marceln.org/download/python ddOperApi
|
#
|
||||||
|
# todo: Uitzoeken
|
||||||
|
#
|
||||||
|
# - >
|
||||||
|
# pip install --extra-index-url
|
||||||
|
# https://marceln.org/download/python ddOperApi
|
||||||
# - python -c "import lmwsip"
|
# - python -c "import lmwsip"
|
||||||
# - python -c "import lmwsip; print(lmwsip.__version__)"
|
# - python -c "import lmwsip; print(lmwsip.__version__)"
|
||||||
# - >
|
# - >
|
||||||
# [ $(python -c "import lmwsip; print(lmwsip.__version__)") =
|
# [ $(python -c "import lmwsip; print(lmwsip.__version__)") =
|
||||||
# $(python setup.py --version) ]
|
# $(python setup.py --version) ]
|
||||||
# - python -m unittest -v lmwsip.tests
|
# - python -m unittest -v lmwsip.tests
|
||||||
|
when:
|
||||||
|
branch:
|
||||||
|
- master
|
||||||
|
|
||||||
|
|
||||||
|
depends_on:
|
||||||
|
- Build
|
||||||
|
Reference in New Issue
Block a user