delete gcov files before cache
authorMichael Wallner <mike@php.net>
Mon, 5 Mar 2018 13:29:23 +0000 (14:29 +0100)
committerMichael Wallner <mike@php.net>
Mon, 5 Mar 2018 13:29:23 +0000 (14:29 +0100)
.travis.yml
scripts/gen_travis_yml.php

index 41a0cd2..5166a11 100644 (file)
@@ -21,6 +21,8 @@ compiler:
 cache:
  directories:
   - $HOME/cache
+before_cache:
+ - find $HOME/cache -name '*.gcda' -o -name '*.gcno' -delete
 
 env:
  - PHP=7.0 enable_debug=yes enable_maintainer_zts=yes enable_json=yes enable_hash=yes enable_iconv=yes with_http_libbrotli_dir=/home/travis/brotli
index 3408a5d..fc493df 100755 (executable)
@@ -22,6 +22,8 @@ compiler:
 cache:
  directories:
   - $HOME/cache
+before_cache:
+ - find $HOME/cache -name '*.gcda' -o -name '*.gcno' -delete
 
 env:
 <?php