mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
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:
@@ -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 &
|
||||
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user