@@ -13,6 +13,7 @@ CODENARC_FAIL=
13
13
LICENSE_FAIL=
14
14
POM_FAIL=
15
15
BOOTLINT_FAIL=
16
+ RFLINT_FAIL=
16
17
JASMINE_FAIL=
17
18
HTML_FAIL=
18
19
TEST_FAIL=
@@ -30,6 +31,7 @@ if [ "$RUN_ONLY_INTEGRATION_TESTS" = 'no' ]; then
30
31
mvn --batch-mode license:check > license.log 2>&1 || LICENSE_FAIL=yes
31
32
mvn --batch-mode sortpom:verify -Dsort.verifyFail=stop > pom.log || POM_FAIL=yes
32
33
find src -type f -name ' *.html' | xargs bootlint > bootlint.log 2>&1 || BOOTLINT_FAIL=yes
34
+ rflint --ignore TooFewKeywordStep src/test/robotframework > rflint.log 2>&1 || RFLINT_FAIL=yes
33
35
mvn --batch-mode jasmine:test > jasmine.log 2>&1 || JASMINE_FAIL=yes
34
36
# FIXME: add check for src/main/config/nginx/503.*html
35
37
# TODO: remove ignoring of error about alt attribute after resolving #314
@@ -64,6 +66,7 @@ if [ "$RUN_ONLY_INTEGRATION_TESTS" = 'no' ]; then
64
66
print_status " $LICENSE_FAIL " ' Check license headers'
65
67
print_status " $POM_FAIL " ' Check sorting of pom.xml'
66
68
print_status " $BOOTLINT_FAIL " ' Run bootlint'
69
+ print_status " $RFLINT_FAIL " ' Run robot framework lint'
67
70
print_status " $JASMINE_FAIL " ' Run JavaScript unit tests'
68
71
print_status " $HTML_FAIL " ' Run html5validator'
69
72
print_status " $TEST_FAIL " ' Run unit tests'
@@ -81,6 +84,7 @@ if [ "$RUN_ONLY_INTEGRATION_TESTS" = 'no' ]; then
81
84
print_log license.log ' Check license headers'
82
85
print_log pom.log ' Check sorting of pom.xml'
83
86
print_log bootlint.log ' Run bootlint'
87
+ print_log rflint.log ' Run robot framework lint'
84
88
print_log jasmine.log ' Run JavaScript unit tests'
85
89
print_log validator.log ' Run html5validator'
86
90
print_log test.log ' Run unit tests'
89
93
90
94
print_log verify.log ' Run integration tests'
91
95
92
- rm -f cs.log pmd.log codenarc.log license.log bootlint.log jasmine.log validator.log test.log findbugs.log verify.log
96
+ rm -f cs.log pmd.log codenarc.log license.log bootlint.log rflint.log jasmine.log validator.log test.log findbugs.log verify.log
93
97
94
- if [ -n " $CS_FAIL$PMD_FAIL$CODENARC_FAIL$LICENSE_FAIL$POM_FAIL$BOOTLINT_FAIL$JASMINE_FAIL$HTML_FAIL$TEST_FAIL$FINDBUGS_FAIL$VERIFY_FAIL " ]; then
98
+ if [ -n " $CS_FAIL$PMD_FAIL$CODENARC_FAIL$LICENSE_FAIL$POM_FAIL$BOOTLINT_FAIL$RFLINT_FAIL$ JASMINE_FAIL$HTML_FAIL$TEST_FAIL$FINDBUGS_FAIL$VERIFY_FAIL " ]; then
95
99
exit 1
96
100
fi
0 commit comments