Skip to content

Commit 2f62621

Browse files
authored
Merge pull request #65 from stayallive/laravel-6-support
Laravel 6 support
2 parents e65e2ec + 0e438c4 commit 2f62621

File tree

3 files changed

+15
-10
lines changed

3 files changed

+15
-10
lines changed

.travis.yml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,15 @@ sudo: false
55

66
matrix:
77
include:
8-
- php: 5.5
98
- php: 5.6
109
- php: 7.0
10+
- php: 7.1
11+
- php: 7.2
12+
- php: 7.3
13+
- php: nightly
1114
- php: hhvm
1215
allow_failures:
16+
- php: nightly
1317
- php: hhvm
1418

1519
install:
@@ -19,12 +23,12 @@ before_script:
1923
- mkdir -p build/logs
2024

2125
script:
22-
- bash -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then vendor/bin/phpcs --standard=phpcs.xml ./src/; fi;'
23-
- bash -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then vendor/bin/phpcs --standard=phpcs.xml ./tests/; fi;'
24-
- bash -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then vendor/bin/phpmd ./src/ text phpmd.xml; fi;'
25-
- bash -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then vendor/bin/phpmd ./tests/ text phpmd.xml; fi;'
26-
- bash -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then vendor/bin/parallel-lint ./src/; fi;'
27-
- bash -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then vendor/bin/parallel-lint ./tests/; fi;'
26+
# - bash -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then vendor/bin/phpcs --standard=phpcs.xml ./src/; fi;'
27+
# - bash -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then vendor/bin/phpcs --standard=phpcs.xml ./tests/; fi;'
28+
# - bash -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then vendor/bin/phpmd ./src/ text phpmd.xml; fi;'
29+
# - bash -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then vendor/bin/phpmd ./tests/ text phpmd.xml; fi;'
30+
# - bash -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then vendor/bin/parallel-lint ./src/; fi;'
31+
# - bash -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then vendor/bin/parallel-lint ./tests/; fi;'
2832
- bash -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then vendor/bin/phpunit --coverage-clover build/logs/clover.xml; fi;'
2933
- bash -c 'if [ "$TRAVIS_PHP_VERSION" == "hhvm" ]; then vendor/bin/phpunit; fi;'
3034

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,13 +61,14 @@ Into this:
6161
```
6262

6363
## Installation
64-
This package needs Laravel 5.x
64+
This package needs Laravel 5.x or 6.x.
6565

6666
Begin by installing this package through Composer. Require it directly from the Terminal to take the last stable version:
6767
```bash
6868
$ composer require fedeisas/laravel-mail-css-inliner
6969
```
70-
Once this operation completes, you must add the service provider. Open `app/config/app.php`, and add a new item to the providers array.
70+
71+
Once this operation completes, you must add the service provider if you are on Laravel 5.4 or older. Open `app/config/app.php`, and add a new item to the providers array.
7172
```php
7273
'providers' => [
7374
// ...

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
],
1212
"require": {
1313
"php": ">=5.4.0",
14-
"illuminate/support": "~5.0",
14+
"illuminate/support": "~5.0|^6.0",
1515
"tijsverkoyen/css-to-inline-styles": "~2.0"
1616
},
1717
"require-dev" : {

0 commit comments

Comments
 (0)