Skip to content

Commit

Permalink
Merge pull request #179 from phil-davis/phpunit9
Browse files Browse the repository at this point in the history
Use phpunit 9 where possible
  • Loading branch information
phil-davis authored Feb 10, 2020
2 parents 10fa155 + 12bb9f5 commit 03a31ca
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
10 changes: 6 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,16 @@ env:
global:
- RUN_PHPSTAN="FALSE"
matrix:
- PREFER_LOWEST="" WITH_COVERAGE="--coverage-clover=coverage.xml"
- PREFER_LOWEST="--prefer-lowest" $WITH_COVERAGE=""
- PREFER_LOWEST="" REPORT_COVERAGE="TRUE" WITH_COVERAGE="--coverage-clover=coverage.xml"
- PREFER_LOWEST="--prefer-lowest" REPORT_COVERAGE="FALSE" WITH_COVERAGE=""

matrix:
include:
- name: 'PHPStan'
php: 7.4
env: RUN_PHPSTAN="TRUE"
env:
- RUN_PHPSTAN="TRUE"
- REPORT_COVERAGE="FALSE"
fast_finish: true

cache:
Expand All @@ -33,4 +35,4 @@ script:
- if [ $RUN_PHPSTAN == "TRUE" ]; then composer phpstan; fi

after_success:
- bash <(curl -s https://codecov.io/bash)
- if [ $REPORT_COVERAGE == "TRUE" ]; then bash <(curl -s https://codecov.io/bash); fi
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"require-dev": {
"friendsofphp/php-cs-fixer": "~2.16.1",
"phpstan/phpstan": "^0.12",
"phpunit/phpunit" : "^7.5 || ^8.5"
"phpunit/phpunit" : "^7.5 || ^8.5 || ^9.0"
},
"scripts": {
"phpstan": [
Expand Down

0 comments on commit 03a31ca

Please sign in to comment.