From: Michal Sojka Date: Mon, 24 Sep 2018 18:21:48 +0000 (+0200) Subject: Travis: Fix (and simplify) cache cleanup command X-Git-Url: https://rtime.felk.cvut.cz/gitweb/hercules2020/kcf.git/commitdiff_plain/6b74c9110ee1f4f1d84ae1a13336d75345dec524 Travis: Fix (and simplify) cache cleanup command Previously, only core files were deleted, because -o operator has low priority. --- diff --git a/.travis.yml b/.travis.yml index a8ddec5..3645b59 100644 --- a/.travis.yml +++ b/.travis.yml @@ -47,6 +47,6 @@ matrix: addons: apt: { sources: *common_sources, packages: [*common_packages, unzip] } -before_cache: if [ -d vot2016 ]; then find -name output.txt -o -name core -print0 | xargs -0 rm -f; fi +before_cache: rm -f vot2016/*/{output.txt,core} cache: directories: [ vot2016 ]