Skip to content

Commit

Permalink
chore(deps): update to PHPUnit 8.3
Browse files Browse the repository at this point in the history
  • Loading branch information
tomtomau committed Aug 2, 2019
1 parent 26e354d commit 2ddaa6b
Show file tree
Hide file tree
Showing 6 changed files with 141 additions and 78 deletions.
15 changes: 6 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,16 @@ language: php
sudo: false

php:
- 5.4
- 5.5
- 5.6
- 7.0
- hhvm
- 7.2
- 7.3

before_script:
- if [ $TRAVIS_PHP_VERSION = '7.0' ]; then composer require satooshi/php-coveralls; fi
- composer require satooshi/php-coveralls
- composer install --dev

script:
- if [ $TRAVIS_PHP_VERSION = '7.0' ]; then vendor/bin/phpunit --coverage-clover build/logs/clover.xml; else vendor/bin/phpunit; fi
- if [ $TRAVIS_PHP_VERSION = '7.0' ]; then ./vendor/bin/phpcs --standard=psr2 src test; fi
- vendor/bin/phpunit --coverage-clover build/logs/clover.xml
- ./vendor/bin/phpcs --standard=psr2 src test

after_success:
- if [ $TRAVIS_PHP_VERSION = '7.0' ]; then php vendor/bin/coveralls; fi
- php vendor/bin/coveralls
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@
}
],
"require": {
"php": ">=5.4",
"php": ">=7.2",
"psr/log": "^1.0"
},
"require-dev": {
"phpunit/phpunit": "4.8.*",
"phpunit/phpunit": "8.3.*",
"squizlabs/php_codesniffer": "2.6.*"
},
"autoload": {
Expand Down
4 changes: 1 addition & 3 deletions phpunit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,9 @@
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
syntaxCheck="true"
strict="true"
colors="true">
<testsuites>
<testsuite>
<testsuite name="All tests">
<directory>./test</directory>
</testsuite>
</testsuites>
Expand Down
Loading

0 comments on commit 2ddaa6b

Please sign in to comment.