Skip to content

Commit 092914a

Browse files
author
y-p
committed
BLD: travis, cache, fix test for cython files changed
1 parent b36121c commit 092914a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ci/prep_ccache.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ if [ "$IRON_TOKEN" ]; then
2222
fi
2323

2424
# did the last commit change cython files?
25-
git show --pretty="format:" --name-only HEAD~5.. --first-parent | grep -P "pyx|pxd"
25+
git diff HEAD~5 | grep diff | grep -P "pyx|pxd"
2626

2727
if [ "$?" != "0" ]; then
2828
# nope, reuse cython files

0 commit comments

Comments
 (0)