Skip to content

Commit

Permalink
Do not run application tests if SECURITY.md is changed
Browse files Browse the repository at this point in the history
  • Loading branch information
pamil committed Jun 12, 2019
1 parent 4f0a956 commit 97dfb6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion etc/travis/suites/application/is_suitable.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then
exit 0 # Always execute full suite on branch builds
fi

if [ $(git diff --name-only HEAD origin/$TRAVIS_BRANCH | grep -c -v -e ^docs -e ^.github -e ^CHANGELOG -e ^LICENSE -e ^README -e ^UPGRADE) -eq 0 ]; then
if [ $(git diff --name-only HEAD origin/$TRAVIS_BRANCH | grep -c -v -e ^docs -e ^.github -e ^CHANGELOG -e ^LICENSE -e ^README -e ^UPGRADE -e ^SECURITY) -eq 0 ]; then
print_header "Skipped suite" "Application"
print_warning "No other changes than those in docs/* were found"
exit 1
Expand Down

0 comments on commit 97dfb6e

Please sign in to comment.