diff --git a/.drone.yml b/.drone.yml index 62654b4..a0e0a9f 100644 --- a/.drone.yml +++ b/.drone.yml @@ -10,7 +10,7 @@ steps: - find . -name "*.py" -exec python3 -m py_compile '{}' \; - find . -name "*.py" -exec pylint '{}' + || if [ $? -eq 1 ]; then echo "you fail"; fi - find . -name "*.py" -exec python3 -m mccabe --min 3 '{}' + || if [ $? -eq 1 ]; then echo "you fail"; fi - - bandit -r . + - bandit -r . + || if [ $? -eq 1 ]; then echo "you fail"; fi - name: build image: docker:stable-dind