Skip to content

Commit 0090338

Browse files
committed
check-build-and-verify.sh: fix condition for running danger.
Correction for 65bf44b commit.
1 parent 1eb8fa1 commit 0090338

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

src/main/scripts/ci/check-build-and-verify.sh

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ TEST_STATUS=
3131
FINDBUGS_STATUS=
3232
VERIFY_STATUS=
3333

34-
DANGER_STATUS=
34+
DANGER_STATUS=skip
3535
if [ "${SPRING_PROFILES_ACTIVE:-}" != 'travis' -o "${TRAVIS_PULL_REQUEST:-false}" = 'false' ]; then
36-
DANGER_STATUS=skip
36+
DANGER_STATUS=
3737
fi
3838

3939
if [ "$RUN_ONLY_INTEGRATION_TESTS" = 'no' ]; then
@@ -204,10 +204,7 @@ if [ "$RUN_ONLY_INTEGRATION_TESTS" = 'no' ]; then
204204
fi
205205

206206
print_status "$VERIFY_STATUS" 'Run integration tests'
207-
208-
if [ "$DANGER_STATUS" != 'skip' ]; then
209-
print_status "$DANGER_STATUS" 'Run danger'
210-
fi
207+
print_status "$DANGER_STATUS" 'Run danger'
211208

212209
echo
213210

0 commit comments

Comments
 (0)