diff --git a/ci/prep_cython_cache.sh b/ci/prep_cython_cache.sh index 6f16dce2fb431..cadc356b641f9 100755 --- a/ci/prep_cython_cache.sh +++ b/ci/prep_cython_cache.sh @@ -3,8 +3,8 @@ ls "$HOME/.cache/" PYX_CACHE_DIR="$HOME/.cache/pyxfiles" -pyx_file_list=`find ${TRAVIS_BUILD_DIR} -name "*.pyx"` -pyx_cache_file_list=`find ${PYX_CACHE_DIR} -name "*.pyx"` +pyx_file_list=`find ${TRAVIS_BUILD_DIR} -name "*.pyx" -o -name "*.pxd"` +pyx_cache_file_list=`find ${PYX_CACHE_DIR} -name "*.pyx" -o -name "*.pxd"` CACHE_File="$HOME/.cache/cython_files.tar" diff --git a/ci/submit_cython_cache.sh b/ci/submit_cython_cache.sh index 4f60df0ccb2d8..5c98c3df61736 100755 --- a/ci/submit_cython_cache.sh +++ b/ci/submit_cython_cache.sh @@ -2,7 +2,7 @@ CACHE_File="$HOME/.cache/cython_files.tar" PYX_CACHE_DIR="$HOME/.cache/pyxfiles" -pyx_file_list=`find ${TRAVIS_BUILD_DIR} -name "*.pyx"` +pyx_file_list=`find ${TRAVIS_BUILD_DIR} -name "*.pyx" -o -name "*.pxd"` rm -rf $CACHE_File rm -rf $PYX_CACHE_DIR