File tree Expand file tree Collapse file tree 2 files changed +15
-13
lines changed Expand file tree Collapse file tree 2 files changed +15
-13
lines changed Original file line number Diff line number Diff line change 11language : php
22
33php :
4- - 5.4
5- - 5.5
6- - 5.6
7- - 7.0
8- - 7.1
9- - 7.2
4+ - ' 5.4'
5+ - ' 5.5'
6+ - ' 5.6'
7+ - ' 7.0'
8+ - ' 7.1'
9+ - ' 7.2'
10+ - ' 7.3'
1011
1112matrix :
1213 include :
13- - php : 5.3
14+ - php : ' 5.3'
1415 dist : precise
1516
1617before_script :
1718 - travis_retry composer self-update
18- - travis_retry composer install --no-interaction --prefer-source --dev
19+ - travis_retry composer global require hirak/prestissimo
20+ - travis_retry composer install --no-interaction --prefer-dist
1921 - travis_retry phpenv rehash
2022
2123script :
2224 - if [[ ${TRAVIS_PHP_VERSION:0:3} == "5.3" ]]; then composer require --dev symfony/polyfill-php54; fi
23- - ./vendor/bin/phpunit --coverage-clover build/logs/clover.xml
25+ - if [[ $TRAVIS_PHP_VERSION = 5.5.* || $TRAVIS_PHP_VERSION = 5.6.* || $TRAVIS_PHP_VERSION = 7.* ]]; then composer require --dev php-coveralls/php-coveralls; fi
26+ - if [[ $TRAVIS_PHP_VERSION = 5.5.* || $TRAVIS_PHP_VERSION = 5.6.* || $TRAVIS_PHP_VERSION = 7.* ]]; then ./vendor/bin/phpunit --coverage-clover build/logs/clover.xml; else ./vendor/bin/phpunit; fi
2427 - ./vendor/bin/phpcs --standard=psr2 -n src/
2528 - mkdir -p build/logs
2629
2730after_script :
28- - php vendor/bin/coveralls -v
31+ - php vendor/bin/php- coveralls -v
Original file line number Diff line number Diff line change 1818 "php" : " >=5.3"
1919 },
2020 "require-dev" : {
21- "phpunit/phpunit" : " @stable" ,
22- "squizlabs/php_codesniffer" : " @stable" ,
23- "satooshi/php-coveralls" : " @stable" ,
21+ "phpunit/phpunit" : " ^4.0|^5.0|^6.0|^7.0" ,
22+ "squizlabs/php_codesniffer" : " ^2.0|^3.4" ,
2423 "symfony/var-dumper" : " @stable"
2524 }
2625}
You can’t perform that action at this time.
0 commit comments