mirror of
https://codeberg.org/icewind/streams.git
synced 2026-06-03 16:44:07 +02:00
bump minimum php version to 5.6 and update test libs
This commit is contained in:
parent
2178a2be0e
commit
2538e6d05c
3 changed files with 12 additions and 13 deletions
13
.travis.yml
13
.travis.yml
|
|
@ -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
|
|
||||||
|
|
|
||||||
|
|
@ -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": {
|
||||||
|
|
|
||||||
|
|
@ -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>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue