Lint job can fail build

This commit is contained in:
Hugo 2018-11-11 21:38:06 +02:00
parent 2f28a01fe7
commit a9f847bed1

View File

@ -82,7 +82,9 @@ before_script:
script: script:
- | - |
if [ "$DOCKER" == "" ] && [ "$LINT" == "" ]; then if [ "$LINT" == "true" ]; then
flake8 --statistics --count
elif [ "$DOCKER" == "" ]; then
.travis/script.sh .travis/script.sh
elif [ "$DOCKER" ]; then elif [ "$DOCKER" ]; then
# the Pillow user in the docker container is UID 1000 # the Pillow user in the docker container is UID 1000
@ -92,8 +94,6 @@ script:
after_success: after_success:
- | - |
if [ "$LINT" == "true" ]; then if [ "$LINT" == "" ]; then
flake8 --statistics --count
else
.travis/after_success.sh .travis/after_success.sh
fi fi