bump minimum php version to 5.6 and update test libs

This commit is contained in:
Robin Appelman 2019-03-11 12:54:05 +01:00
commit 07471f9778
3 changed files with 12 additions and 13 deletions

View file

@ -1,24 +1,17 @@
language: php language: php
php: php:
- 5.4
- 5.5
- 5.6 - 5.6
- 7.0 - 7.0
- 7.1 - 7.1
- 7.2 - 7.2
- 7.3
env:
global:
- CURRENT_DIR=`pwd`
install: install:
- composer install --dev --no-interaction - composer install --dev --no-interaction
script: script:
- mkdir -p build/logs - mkdir -p build/logs
- cd tests - vendor/bin/phpunit --coverage-clover build/logs/clover.xml --configuration tests/phpunit.xml
- ../vendor/bin/phpunit --coverage-clover ../build/logs/clover.xml --configuration phpunit.xml
after_script: after_script:
- cd $CURRENT_DIR - vendor/bin/php-coveralls -v
- php vendor/bin/coveralls -v

View file

@ -9,11 +9,11 @@
} }
], ],
"require" : { "require" : {
"php": ">=5.3" "php": ">=5.6"
}, },
"require-dev" : { "require-dev" : {
"satooshi/php-coveralls": "v1.0.0", "php-coveralls/php-coveralls": "v2.1.0",
"phpunit/phpunit": "^4.8" "phpunit/phpunit": "^5.7"
}, },
"autoload" : { "autoload" : {
"psr-4": { "psr-4": {

View file

@ -3,4 +3,10 @@
<testsuite name='Stream'> <testsuite name='Stream'>
<directory suffix='.php'>./</directory> <directory suffix='.php'>./</directory>
</testsuite> </testsuite>
<filter>
<whitelist Stream="true">
<directory suffix=".php">../src</directory>
</whitelist>
</filter>
</phpunit> </phpunit>