Disable xdebug on travis-ci (#11409)

* Disable xdebug on travis-ci

* Update pre-commit.php

Co-authored-by: Tony Murray <murraytony@gmail.com>
This commit is contained in:
Jellyfrog
2020-04-12 16:11:00 +02:00
committed by GitHub
parent faac90d2b3
commit e111fe690e
2 changed files with 4 additions and 2 deletions

View File

@@ -35,8 +35,9 @@ foreach ($changed_files as $file) {
$map['bash']++;
}
if ($file == 'composer.lock') {
$map['php']++; // cause full tests to run
// cause full tests to run
if ($file == 'composer.lock' || $file == '.travis.yml') {
$map['php']++;
}
// check if os owned file or generic php file