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 41a0cd2a74e7a3073e8d08388182915d41427e92..5166a11c159837e5298ca86c32199777768434c7 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 3408a5d6fddc467737a0fb36ffc527a9719b6e76..fc493df70de77d43cbce389db2dbda19a5310761 100755 (executable)
@@ -22,6 +22,8 @@ compiler:
 cache:
  directories:
   - $HOME/cache
+before_cache:
+ - find $HOME/cache -name '*.gcda' -o -name '*.gcno' -delete
 
 env:
 <?php