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