mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-24 16:24:11 +03:00
Lint job can fail build
This commit is contained in:
parent
2f28a01fe7
commit
a9f847bed1
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user