Skip to content

Commit 642784e

Browse files
committed
Disable xdebug coverage in CI
1 parent eb5f10f commit 642784e

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.circleci/config.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ version: 2.1
22
defaults: &defaults
33
docker:
44
- image: circleci/php:7.3-cli
5-
environment:
6-
BOX_VERSION: 3.6.0
75
working_directory: ~/repo
86
aliases:
97
- &composer-cache
@@ -15,6 +13,9 @@ commands:
1513
- run:
1614
name: Install PHP Extensions
1715
command: sudo docker-php-ext-install gd
16+
- run:
17+
name: Disable Xdebug PHP extension
18+
command: sudo rm /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini
1819
- checkout
1920
- restore_cache:
2021
keys:
@@ -98,9 +99,6 @@ jobs:
9899
<<: *defaults
99100
steps:
100101
- start-project
101-
- run:
102-
name: Disable Xdebug PHP extension
103-
command: sudo rm /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini
104102
- create-drupal-project:
105103
project: 'drupal/legacy-project:^8@alpha'
106104
- local-require

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ before_install: []
88
install:
99
- composer install --no-interaction
1010
- COMPOSER_MEMORY_LIMIT=-1 composer create-project drupal-composer/drupal-project:8.x-dev $TRAVIS_BUILD_DIR/../drupal --no-interaction --no-progress
11+
before_script:
12+
- if php --ri xdebug >/dev/null; then phpenv config-rm xdebug.ini; fi
1113
script:
1214
# Inspections
1315
- ./vendor/bin/phpcs src

phpunit.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
beStrictAboutCoversAnnotation="true"
77
beStrictAboutOutputDuringTests="true"
88
beStrictAboutTodoAnnotatedTests="true"
9-
verbose="true">
9+
verbose="false">
1010
<php>
1111
<ini name="error_reporting" value="32767"/>
1212
<ini name="memory_limit" value="-1"/>

0 commit comments

Comments
 (0)