aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJack Koenig2018-10-28 07:12:33 -0700
committerSchuyler Eldridge2018-10-28 10:12:33 -0400
commit92600f1aadd8e3fbddb4e4bc60ad9d22839cc99d (patch)
tree83da6beb0c17e905dc261a98012dc7e96133da2c
parent223bad6d9ddd93e48678da7c3ab50b6656809157 (diff)
Fix TRAVIS_COMMIT_RANGE in .run_chisel_tests, replace ... with .. (#924)
This makes "skip chisel tests" work properly
-rw-r--r--.run_chisel_tests.sh4
1 files changed, 3 insertions, 1 deletions
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