Issue #3683: add to CI test permissions on all files
This commit is contained in:
parent
16aadebeee
commit
0e7eaaccb3
|
|
@ -0,0 +1,15 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
CHMOD=$(find -type f -not -path '*/\.git/*' -a -type f -not -name '*.sh' -a \( -type d -not -perm 775 -o -type f -not -perm 664 \))
|
||||
if [[ -z $CHMOD ]]; then
|
||||
exit 0;
|
||||
else
|
||||
for NAMEFILE in $CHMOD
|
||||
do
|
||||
echo $NAMEFILE;
|
||||
done
|
||||
fi
|
||||
echo " ";
|
||||
echo "To change permissions.";
|
||||
|
|
@ -47,6 +47,10 @@ pr-description)
|
|||
.ci/travis/xtr_pr-description.sh
|
||||
;;
|
||||
|
||||
check-chmod)
|
||||
.ci/travis/checkchmod.sh
|
||||
;;
|
||||
|
||||
all-sevntu-checks)
|
||||
xmlstarlet sel --net --template -m .//module -v "@name" -n config/checkstyle_sevntu_checks.xml \
|
||||
| grep -vE "Checker|TreeWalker|Filter|Holder" | grep -v "^$" \
|
||||
|
|
|
|||
|
|
@ -227,6 +227,13 @@ matrix:
|
|||
- CMD="./.ci/travis/travis.sh"
|
||||
- COVERAGE_CMD=""
|
||||
|
||||
# Check the chmod on files.
|
||||
- env:
|
||||
- DESC="check permissions on all files"
|
||||
- GOAL="check-chmod"
|
||||
- CMD="./.ci/travis/travis.sh"
|
||||
- COVERAGE_CMD=""
|
||||
|
||||
# Ensure that all Sevntu check are kused
|
||||
- jdk: oraclejdk8
|
||||
env:
|
||||
|
|
|
|||
Loading…
Reference in New Issue