Skip to content

Commit e22d824

Browse files
committed
Fix traivs, nicer output for tests
1 parent 2184184 commit e22d824

File tree

4 files changed

+168
-5
lines changed

4 files changed

+168
-5
lines changed

.travis.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
language: php
22
dist: trusty
33
php:
4-
- 7.0
5-
- 7.1
64
- 7.2
75
sudo: false
86
cache:
@@ -15,7 +13,7 @@ before_install:
1513
before_script:
1614
- echo 'opcache.enable_cli=1' >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
1715
- cp .env.travis .env
18-
- composer install --no-interaction --prefer-dist --no-suggest
16+
- travis_retry composer install --no-interaction --prefer-dist --no-suggest
1917
- php artisan migrate --seed
2018
script:
2119
- vendor/bin/phpunit --coverage-clover coverage.xml

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
"require-dev": {
4545
"barryvdh/laravel-debugbar": "^3.1",
4646
"barryvdh/laravel-ide-helper": "^2.4",
47+
"codedungeon/phpunit-result-printer": "^0.6.0",
4748
"filp/whoops": "^2.1",
4849
"friendsofphp/php-cs-fixer": "^2.8.0",
4950
"fzaninotto/faker": "^1.6",

composer.lock

Lines changed: 165 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

phpunit.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@
66
convertErrorsToExceptions="true"
77
convertNoticesToExceptions="true"
88
convertWarningsToExceptions="true"
9+
printerClass="Codedungeon\PHPUnitPrettyResultPrinter\Printer"
910
processIsolation="false"
1011
stopOnFailure="false">
1112
<testsuites>
1213
<testsuite name="Feature">
1314
<directory suffix="Test.php">./tests/Feature</directory>
1415
</testsuite>
15-
1616
<testsuite name="Unit">
1717
<directory suffix="Test.php">./tests/Unit</directory>
1818
</testsuite>

0 commit comments

Comments
 (0)