Skip to content

Commit

Permalink
Compatibilidade com Laravel >=5.7
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielpeixoto committed Jun 26, 2020
1 parent 6b1fa10 commit a0d0a58
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 16 deletions.
20 changes: 18 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,26 @@ cache:
- $HOME/.composer/cache/files

php:
- 7.1
- 7.2
- 7.3
- 7.4

env:
- LARAVEL_VERSION=7.0.*
- LARAVEL_VERSION=5.7.*
- LARAVEL_VERSION=5.8.* COVERAGE=true
- LARAVEL_VERSION=6.0.* COVERAGE=true

matrix:
# For each PHP version we exclude the coverage env, except for PHP 7.1
exclude:
- php: 7.1
env: LARAVEL_VERSION=6.0.* COVERAGE=true
- php: 7.1
env: LARAVEL_VERSION=7.0.* COVERAGE=true
- php: 7.2
env: LARAVEL_VERSION=6.0.* COVERAGE=true
- php: 7.2
env: LARAVEL_VERSION=5.7.*

before_install:
- echo "memory_limit=2G" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
Expand All @@ -26,5 +40,7 @@ before_script: phpenv config-add ~/xdebug.ini

script: vendor/bin/phpunit

after_success: sh -c "if [ ! -z ${COVERAGE+x} ]; then travis_retry php vendor/bin/php-coveralls; fi"

notifications:
email: false
25 changes: 11 additions & 14 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,24 +8,21 @@
],
"homepage": "https://github.com/jdavidbakr/MailTracker",
"license": "MIT",
"authors": [
{
"name": "J David Baker",
"email": "[email protected]",
"homepage": "http://www.jdavidbaker.com",
"role": "Developer"
}
],
"authors": [{
"name": "J David Baker",
"email": "[email protected]",
"homepage": "http://www.jdavidbaker.com",
"role": "Developer"
}],
"require": {
"php": ">=7.2.5",
"laravel/framework": ">=5.7",
"php": ">=7.1",
"laravel/framework": ">=5.7 <7.0",
"guzzlehttp/guzzle": "^5.3.1|^6.2.1",
"aws/aws-php-sns-message-validator": "^1.1",
"aws/aws-sdk-php": "^3.133"
"aws/aws-php-sns-message-validator": "^1.1"
},
"require-dev": {
"phpunit/phpunit": "~8.0",
"orchestra/testbench": "~5.0",
"phpunit/phpunit": "~6.0|~7.0|~8.0",
"orchestra/testbench": "~3.0|~4.0",
"mockery/mockery": "^1.1"
},
"suggest": {
Expand Down

0 comments on commit a0d0a58

Please sign in to comment.