Skip to content

Commit b666be1

Browse files
committed
Update dependencies and laravel version restrictions
1 parent d414c4e commit b666be1

File tree

3 files changed

+13
-10
lines changed

3 files changed

+13
-10
lines changed

.travis.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@ language: php
33
php:
44
- 7.0
55
- 7.1
6+
- 7.2
67

78
before_script:
89
- travis_retry composer self-update
910
- travis_retry composer install --no-interaction --prefer-source --dev
1011

1112
script:
12-
- ./vendor/bin/phpunit --coverage-text --coverage-clover ./build/logs/clover.xml
13+
- mkdir -p ./build/logs
14+
- ./vendor/bin/phpunit --coverage-text --coverage-clover ./build/logs/clover.xml
1315

14-
after_script:
15-
- php vendor/bin/coveralls
16-
- wget https://scrutinizer-ci.com/ocular.phar
17-
- php ocular.phar code-coverage:upload --format=php-clover ./build/logs/clover.xml
16+
after_success:
17+
- travis_retry php vendor/bin/php-coveralls -v

composer.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,20 +28,21 @@
2828
"geocoder-php/geo-plugin-provider": "^4.0",
2929
"geocoder-php/google-maps-provider": "^4.0",
3030
"guzzlehttp/psr7": "*",
31-
"illuminate/cache": "5.0.* || 5.1.* || 5.2.* || 5.3.* || 5.4.* || 5.5.*",
32-
"illuminate/support": "5.0.* || 5.1.* || 5.2.* || 5.3.* || 5.4.* || 5.5.*",
31+
"illuminate/cache": "5.0 - 5.5",
32+
"illuminate/support": "5.0 - 5.5",
3333
"php": "^7.0",
3434
"willdurand/geocoder": "^4.0"
3535
},
3636
"require-dev": {
37+
"codedungeon/phpunit-result-printer": "^0.4.4",
3738
"doctrine/dbal": "^2.5",
3839
"fzaninotto/faker": "~1.4",
3940
"geocoder-php/bing-maps-provider": "^4.0",
4041
"geocoder-php/maxmind-binary-provider": "^4.0",
4142
"laravel/laravel": "5.5.*",
4243
"mockery/mockery": "0.9.*",
44+
"php-coveralls/php-coveralls": "^2.0",
4345
"phpunit/phpunit": "~5.0",
44-
"satooshi/php-coveralls" : "dev-master@dev",
4546
"sebastian/phpcpd": "*"
4647
},
4748
"autoload": {

phpunit.xml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<phpunit backupGlobals="false"
2+
<phpunit
3+
backupGlobals="false"
34
backupStaticAttributes="false"
5+
bootstrap="vendor/autoload.php"
46
colors="true"
57
convertErrorsToExceptions="true"
68
convertNoticesToExceptions="true"
79
convertWarningsToExceptions="true"
10+
printerClass="Codedungeon\PHPUnitPrettyResultPrinter\Printer"
811
processIsolation="false"
912
stopOnFailure="false"
1013
syntaxCheck="false"
11-
bootstrap="vendor/autoload.php"
1214
>
1315
<testsuites>
1416
<testsuite name="Geocoder library for Laravel Test Suite">

0 commit comments

Comments
 (0)