diff --git a/.travis.yml b/.travis.yml index 3d920f6a1e..99f43b62dd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -38,6 +38,7 @@ after_failure: - tail /tmp/snmpsimd.log before_script: + - phpenv config-rm xdebug.ini - test -z "$BROWSER_TEST" || php artisan dusk:update --detect - test -z "$BROWSER_TEST" || php artisan serve --env=dusk.testing 2>/dev/null & diff --git a/scripts/pre-commit.php b/scripts/pre-commit.php index cc193c8462..e1d927a171 100755 --- a/scripts/pre-commit.php +++ b/scripts/pre-commit.php @@ -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