Skip to content

Commit

Permalink
travis
Browse files Browse the repository at this point in the history
travis

xdebug.mode coverage
  • Loading branch information
bresam committed Mar 8, 2021
1 parent c76e71f commit 5789543
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
15 changes: 8 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,14 @@ language: php
os: linux
dist: xenial

#php:
# - '7.4'
php:
- '7.4'
# - '8.0'

branches:
only:
- master
- develop

env:
global:
Expand All @@ -22,11 +23,11 @@ install: travis/install.sh
script: travis/script.sh
after_success: travis/success.sh

jobs:
include:
- php: 7.4
services: [docker]
env: DOCKER_BUILD=true
#jobs:
# include:
# - php: 7.4
# services: [docker]
# env: DOCKER_BUILD=true
# - php: 7.4
# env: SYMFONY_VERSION=4.4.*
# - php: 8.0
Expand Down
2 changes: 1 addition & 1 deletion travis/script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ DOCKER_BUILD=${DOCKER_BUILD-false}
TRAVIS_PHP_VERSION=${TRAVIS_PHP_VERSION-7.4}

if [ "$DOCKER_BUILD" = false ]; then
vendor/bin/phpunit --configuration phpunit.ci.xml --coverage-clover clover.xml
XDEBUG_MODE=coverage php vendor/bin/phpunit --configuration phpunit.ci.xml --coverage-clover clover.xml
fi

if [ "$DOCKER_BUILD" = true ]; then
Expand Down

0 comments on commit 5789543

Please sign in to comment.