This repository was archived by the owner on Jul 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +14
-10
lines changed Expand file tree Collapse file tree 1 file changed +14
-10
lines changed Original file line number Diff line number Diff line change 1818
1919matrix :
2020 fast_finish : true
21+ allow_failures :
22+ - php : 7.2
23+ env : COVERAGE=yes
2124 include :
22- - php : ' 5.6'
23- - php : ' 7.0'
24- - php : ' 7.1'
25- - php : ' 7.2'
26- - php : ' 7.2'
25+ - php : 5.6
26+ - php : 7.0
27+ - php : 7.1
28+ - php : 7.2
29+ - php : 7.3
30+ - php : 7.2
2731 env : COVERAGE=yes
2832
2933services :
@@ -32,14 +36,14 @@ services:
3236before_install :
3337 - sudo apt-get update > /dev/null
3438 - " mongo --eval 'db.runCommand({setParameter: 1, textSearchEnabled: true})' admin"
35- - if [[ $COVERAGE != yes ]]; then phpenv config-rm xdebug.ini; fi;
39+ - if [[ $COVERAGE != yes ]]; then phpenv config-rm xdebug.ini || echo "xdebug not enabled" ; fi;
3640 - pecl channel-update pecl.php.net
3741
3842install :
3943 # install php packages required for running YAWIK phpunit tests
4044 - pecl install -f ${PECLMONGO}
4145 - phpenv config-add .travis/phpenv.ini
42- - COMPOSER_MEMORY_LIMIT=-1 composer install
46+ - COMPOSER_MEMORY_LIMIT=-1 composer install --prefer-source
4347
4448before_script :
4549 # behat preparation
@@ -52,10 +56,10 @@ before_script:
5256
5357script :
5458 - ' if [[ $COVERAGE = yes ]]; then
55- ./vendor/bin/phpunit --verbose -- coverage-clover=build/logs/clover.xml --coverage-php=build/logs/clover.serialized ;
59+ composer coverage;
5660 else
57- ./vendor/bin/phpunit --verbose ;
58- ./vendor/bin/ behat;
61+ composer test ;
62+ composer behat;
5963 fi'
6064
6165after_failure :
You can’t perform that action at this time.
0 commit comments