Skip to content

Commit 51b4c00

Browse files
committed
fix: fix phpunit failing tests
1 parent 70fb351 commit 51b4c00

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.travis.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,7 @@ before_script:
1515
- travis_retry composer update ${COMPOSER_FLAGS} --no-interaction --prefer-source
1616

1717
script:
18-
- phpunit --version
19-
- ./vendor/bin/phpunit --version
20-
- phpunit --coverage-text --coverage-clover=coverage.clover
18+
- composer test:coverage
2119

2220
after_script:
2321
- wget https://scrutinizer-ci.com/ocular.phar

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@
3939
}
4040
},
4141
"scripts": {
42-
"test": "vendor/bin/phpunit"
42+
"test": "phpunit",
43+
"test:coverage": "phpunit --coverage-text --coverage-clover=coverage.clover"
4344
},
4445
"config": {
4546
"sort-packages": true

0 commit comments

Comments
 (0)