Skip to content

Commit

Permalink
Use bazelisk by 'bazel' name
Browse files Browse the repository at this point in the history
  • Loading branch information
barancev committed Sep 4, 2019
1 parent 50bfe1d commit b723512
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/travis/script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,14 @@ fi
if [[ ! -z "$BZL" ]]; then
if [[ $BZL == test\ //javascript/* ]]; then
if [[ $TRAVIS_PULL_REQUEST == "false" ]] || git diff --name-only HEAD~1| grep '^javascript/' >/dev/null; then
bazelisk $BZL
bazel $BZL
fi
elif [[ $BZL == test\ * ]]; then
if [[ $TRAVIS_PULL_REQUEST == "false" ]] || git diff --name-only HEAD~1| grep '^java/' >/dev/null; then
bazelisk $BZL
bazel $BZL
fi
else
bazelisk $BZL
bazel $BZL
fi
fi

Expand Down

0 comments on commit b723512

Please sign in to comment.