File tree Expand file tree Collapse file tree 3 files changed +27
-25
lines changed
Expand file tree Collapse file tree 3 files changed +27
-25
lines changed Original file line number Diff line number Diff line change 11vendor /
22scratch.php
33composer.lock
4- build /
4+ build /
5+ .php_cs.cache
Original file line number Diff line number Diff line change 11language : php
2-
2+ dist : trusty
33sudo : false
44
5- php :
6- - 5.4
7- - 5.5
8- - 5.6
9- - 7.0
10- - 7.1
11- - 7.2
12- - hhvm
13-
145matrix :
15- include :
16- - php : 5.3
17- dist : precise
18- fast_finish : true
19-
20- dist : trusty
6+ include :
7+ - php : 5.3
8+ dist : precise
9+ - php : 5.4
10+ - php : 5.5
11+ - php : 5.6
12+ env : SCRUTINIZER=1
13+ - php : 7.0
14+ env : COMPOSER_FLAGS="--prefer-lowest"
15+ - php : 7.1
16+ env : CS_FIXER=1
17+ - php : 7.2
18+ env : BENCHMARK=1
19+ - php : hhvm
20+ fast_finish : true
2121
2222cache :
2323 directories :
2424 - $HOME/.composer/cache
2525
26- notifications :
27- irc : " irc.freenode.net#masterminds"
28-
2926before_script :
3027 - composer self-update
31- - composer install
28+ - composer update $COMPOSER_FLAGS --prefer-dist
3229
3330script :
31+ - stty cols 120
32+ - if [ "$CS_FIXER" == 1 ]; then wget https://github.com/FriendsOfPHP/PHP-CS-Fixer/releases/download/v2.13.1/php-cs-fixer.phar && php php-cs-fixer.phar fix . --dry-run --diff --rules="@Symfony"; fi
3433 - mkdir -p build/logs
3534 - ./vendor/bin/phpunit --coverage-clover=coverage.xml
3635
3736after_script :
38- - bash -c 'if [ "$TRAVIS_PHP_VERSION" == "5.6" ] ; then wget https://scrutinizer-ci.com/ocular.phar; fi;'
39- - bash -c 'if [ "$TRAVIS_PHP_VERSION" == "5.6" ] ; then php ocular.phar code-coverage:upload --format=php-clover coverage.xml; fi;'
40- - php test/benchmark/run.php 10
37+ - if [ "$SCRUTINIZER" == 1 ]; then wget https://scrutinizer-ci.com/ocular.phar && php ocular.phar code-coverage:upload --format=php-clover coverage.xml; fi
38+ - if [ "$BENCHMARK" == 1 ]; then php test/benchmark/run.php 10; fi
39+
40+ notifications :
41+ irc : " irc.freenode.net#masterminds"
Original file line number Diff line number Diff line change 2727 },
2828 "require-dev" : {
2929 "satooshi/php-coveralls" : " 1.0.*" ,
30- "phpunit/phpunit" : " 4.* " ,
30+ "phpunit/phpunit" : " ^4.8.35 " ,
3131 "sami/sami" : " ~2.0"
3232 },
3333 "autoload" : {
You can’t perform that action at this time.
0 commit comments