Skip to content

Commit

Permalink
Only run versionSyncCheck if NOT a cron job (lagom#1823)
Browse files Browse the repository at this point in the history
  • Loading branch information
octonato authored and marcospereira committed Mar 26, 2019
1 parent 2ef426f commit d40d354
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion bin/test-code-style
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,13 @@ runSbt +headerCheck \
+test:headerCheck \
multi-jvm:headerCheck

runSbt validateDependencies \
# only run versionSyncCheck if NOT a scheduled build
if [ "$TRAVIS_EVENT_TYPE" != "cron" ]; then
EXTRA_TASK="versionSyncCheck"
fi

runSbt $EXTRA_TASK \
validateDependencies \
mimaReportBinaryIssues

git diff --exit-code || (
Expand Down

0 comments on commit d40d354

Please sign in to comment.