From 92600f1aadd8e3fbddb4e4bc60ad9d22839cc99d Mon Sep 17 00:00:00 2001 From: Jack Koenig Date: Sun, 28 Oct 2018 07:12:33 -0700 Subject: Fix TRAVIS_COMMIT_RANGE in .run_chisel_tests, replace ... with .. (#924) This makes "skip chisel tests" work properly--- .run_chisel_tests.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.run_chisel_tests.sh b/.run_chisel_tests.sh index b14d842b..bb96c579 100644 --- a/.run_chisel_tests.sh +++ b/.run_chisel_tests.sh @@ -1,6 +1,8 @@ set -e + # Skip chisel tests if the commit message says to -if git log --format=%B --no-merges $TRAVIS_COMMIT_RANGE | grep '\[skip chisel tests\]'; then +# Replace ... with .. in TRAVIS_COMMIT_RANGE, see https://github.com/travis-ci/travis-ci/issues/4596 +if git log --format=%B --no-merges ${TRAVIS_COMMIT_RANGE/.../..} | grep '\[skip chisel tests\]'; then exit 0 else git clone https://github.com/ucb-bar/chisel3.git -- cgit v1.2.3