File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11language : php
22
3- php :
4- - 5.5
5- - 5.6
6- - 7.0
7- - 7.1
3+ dist : trusty
84
9- before_script : composer install
5+ matrix :
6+ include :
7+ - php : 7.2
8+ - php : 7.3
9+ - php : 7.4
10+ env : ANALYSIS='true'
11+ - php : nightly
12+ allow_failures :
13+ - php : nightly
1014
11- script : phpunit --coverage-text
15+ before_script :
16+ - if [[ "$ANALYSIS" == 'true' ]]; then composer require php-coveralls/php-coveralls:^2.1.0 ; fi
17+ - composer install -n
18+
19+ script :
20+ - if [[ "$ANALYSIS" != 'true' ]]; then vendor/bin/phpunit ; fi
21+ - if [[ "$ANALYSIS" == 'true' ]]; then vendor/bin/phpunit --coverage-clover clover.xml ; fi
22+ - if [[ "$ANALYSIS" == 'true' ]]; then vendor/bin/phpcs ; fi
23+ - if [[ "$ANALYSIS" == 'true' ]]; then vendor/bin/phpstan analyse src ; fi
24+
25+ after_success :
26+ - if [[ "$ANALYSIS" == 'true' ]]; then vendor/bin/php-coveralls --coverage_clover=clover.xml -v ; fi
You can’t perform that action at this time.
0 commit comments