From 6b74c9110ee1f4f1d84ae1a13336d75345dec524 Mon Sep 17 00:00:00 2001 From: Michal Sojka Date: Mon, 24 Sep 2018 20:21:48 +0200 Subject: [PATCH] Travis: Fix (and simplify) cache cleanup command Previously, only core files were deleted, because -o operator has low priority. --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ] -- 2.39.2