Syntax correctie & keep yamlint happy
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Marcel Nijenhof
2021-07-18 14:38:56 +02:00
parent b5e2dad196
commit 69dc25fcba

View File

@@ -9,7 +9,7 @@ platform:
variant: CentOS7
steps:
- name: Run unit test
- name: Run unit test
environment:
PYTHONPATH: .
commands:
@@ -26,7 +26,7 @@ platform:
variant: Fedora
steps:
- name: Run unit test
- name: Run unit test
environment:
PYTHONPATH: .
commands:
@@ -42,22 +42,33 @@ platform:
arch: amd64
variant: Fedora
- name: Build package files
steps:
- name: Build package files
commands:
- python setup.py sdist bdist_wheel
- name: Versie toevoegen aan download
- name: Versie toevoegen aan download
environment:
DOWNLOADDIR: /usr/share/nginx/html/download/python/lmwsip
commands:
- mkdir -p "$${DOWNLOADDIR}"
- 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}"
when:
branch:
- master
depends_on:
depends_on:
- CentOS7_test
- Fedora_test