diff --git a/.drone.yml b/.drone.yml index b34cfe3..63590c4 100644 --- a/.drone.yml +++ b/.drone.yml @@ -14,3 +14,6 @@ steps: - find . -name "*.py" -exec python3 -m mccabe --min 3 '{}' + || if [ $? -eq 1 ]; then echo "you fail"; fi - bandit -r . +trigger: + branch: + - master