File tree Expand file tree Collapse file tree 4 files changed +57
-19
lines changed
Expand file tree Collapse file tree 4 files changed +57
-19
lines changed Original file line number Diff line number Diff line change 1+ /.idea /
12/vendor /
23/composer.phar
34/composer.lock
Original file line number Diff line number Diff line change 1010 - 7.0
1111 - 7.1
1212 - 7.2
13+ - 7.3
1314 - nightly
1415
15- matrix :
16- fast_finish : true
17- allow_failures :
18- - php : nightly
19- include :
20- - php : 7.0
21- env : dependencies=lowest
16+ env :
17+ - COMPOSER_FLAGS="--prefer-lowest"
18+ - COMPOSER_FLAGS=""
19+
20+ stages :
21+ - test
22+ - test with coverage
2223
2324cache :
2425 directories :
2526 - $HOME/.composer/cache
2627
27- before_script :
28- - composer install -n
29- - if [ "$dependencies" = "lowest" ]; then composer update --prefer-lowest --prefer-stable -n; fi;
28+ before_install :
29+ - phpenv config-rm xdebug.ini || echo "xdebug not available"
30+ - composer self-update
31+
32+ install : travis_retry composer install --optimize-autoloader --prefer-dist --prefer-stable --no-progress --no-interaction --no-suggest $COMPOSER_FLAGS -vv
33+
34+ script : vendor/bin/phpunit --colors --columns 117 --no-coverage
35+
36+ jobs :
37+ allow_failures :
38+ - php : 7.3
39+ - php : nightly
40+ include :
41+ - php : nightly
42+ env : COMPOSER_FLAGS="--ignore-platform-reqs"
3043
31- script :
32- - vendor/bin/phpunit
44+ - stage : test with coverage
45+ os : linux
46+ php : 7.1
47+ env : COMPOSER_FLAGS=""
48+ before_install : composer self-update
49+ script : vendor/bin/phpunit --colors --coverage-text
Original file line number Diff line number Diff line change 1717 },
1818 "require" : {
1919 "php" : " ~7.0" ,
20- "phpunit/phpunit-mock-objects" : " ~4.0"
20+ "phpunit/phpunit-mock-objects" : " ~4.0|~5.0|~6.0 "
2121 },
2222 "require-dev" : {
23- "phpunit/phpunit" : " ~6.4"
23+ "phpunit/phpunit" : " ~6.4|~7.0 "
2424 }
2525}
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" utf-8" ?>
2- <phpunit colors =" true"
3- convertErrorsToExceptions =" true"
4- convertNoticesToExceptions =" true"
5- convertWarningsToExceptions =" true"
6- bootstrap =" ./vendor/autoload.php" >
2+ <phpunit
3+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
4+ xsi : noNamespaceSchemaLocation =" vendor/phpunit/phpunit/phpunit.xsd"
5+ backupGlobals =" false"
6+ backupStaticAttributes =" false"
7+ beStrictAboutChangesToGlobalState =" true"
8+ beStrictAboutCoversAnnotation =" false"
9+ beStrictAboutOutputDuringTests =" true"
10+ beStrictAboutTestsThatDoNotTestAnything =" true"
11+ beStrictAboutTodoAnnotatedTests =" true"
12+ failOnWarning =" true"
13+ failOnRisky =" true"
14+ verbose =" false"
15+ bootstrap =" vendor/autoload.php"
16+ enforceTimeLimit =" false"
17+ colors =" true"
18+ convertErrorsToExceptions =" true"
19+ convertNoticesToExceptions =" true"
20+ convertWarningsToExceptions =" true"
21+ >
22+ <php >
23+ <ini name =" error_reporting" value =" -1" />
24+ <ini name =" memory_limit" value =" -1" />
25+ <ini name =" date.timezone" value =" UTC" />
26+ </php >
727
828 <testsuites >
929 <testsuite name =" Test suite" >
You can’t perform that action at this time.
0 commit comments