Skip to content

Commit

Permalink
Mise à jour du script travis.
Browse files Browse the repository at this point in the history
  • Loading branch information
noelma committed Dec 11, 2022
1 parent 05f6c21 commit 0ec68b2
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ sudo: required

matrix:
include:
- php: 5.4
dist: trusty
- php: 5.5
dist: trusty
- php: 5.6
Expand All @@ -15,12 +13,16 @@ matrix:
- php: 7.4
env: ANALYSIS='true'

env:
global:
- XDEBUG_MODE=coverage

before_script:
- if [[ "$ANALYSIS" == 'true' ]]; then composer require php-coveralls/php-coveralls:^2.2.0 ; fi
- composer install -n

script:
- if [[ "$ANALYSIS" == 'true' ]]; then vendor/bin/phpunit --coverage-clover clover.xml ; fi
- if [[ "$ANALYSIS" == 'true' ]]; then XDEBUG_MODE=coverage vendor/bin/phpunit --coverage-clover clover.xml ; fi
- if [[ "$ANALYSIS" != 'true' ]]; then vendor/bin/phpunit --no-coverage; fi

after_success:
Expand Down

0 comments on commit 0ec68b2

Please sign in to comment.