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