Skip to content

Commit

Permalink
CI: travis: fix ${TRAVIS_COMMIT_RANGE/.../..}
Browse files Browse the repository at this point in the history
$TRAVIS_COMMIT_RANGE contains "..." instead of "..", see
travis-ci/travis-ci#4596

Fixes: faadb20 ("CI: travis: new shellcheck-gitrange.bash")

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
  • Loading branch information
marc-hb committed Apr 16, 2020
1 parent ae60a5d commit 87211b8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .travis.yml
Expand Up @@ -14,4 +14,7 @@ jobs:
include:

- name: "shellcheck"
script: ./tools/shellcheck-gitrange.bash "${TRAVIS_COMMIT_RANGE}"
# $TRAVIS_COMMIT_RANGE contains "..." instead of ".."
# https://github.com/travis-ci/travis-ci/issues/4596
PR_COMMIT_RANGE="${TRAVIS_COMMIT_RANGE/.../..}"
script: ./tools/shellcheck-gitrange.bash "${PR_COMMIT_RANGE}"

0 comments on commit 87211b8

Please sign in to comment.