Files
lmwsip/.drone.yml
Marcel Nijenhof 03503da5a4
Some checks failed
continuous-integration/drone/push Build is failing
Drone step toegevoegd voor klaar zetten in download
2020-09-08 14:59:39 +02:00

29 lines
550 B
YAML

---
kind: pipeline
type: exec
name: default
platform:
os: linux
arch: amd64
steps:
- name: Run unit test
environment:
PYTHONPATH: .
commands:
- python test/__init__.py
- name: Build package files
commands:
- python3 setup.py sdist bdist_wheel
- name: Versie toevoegen aan download
commands:
- mkdir -p /usr/share/nginx/html/download/python/lmwsip
- cd dist
- for f in *;do if [ -f "${f}" ] ; then echo version error;exit 1;else cp "${f}" /usr/share/nginx/html/download/python/lmwsip;done
when:
branch:
- master