From cfa2a82238a8a5bc431815dfa878f01dbc43d322 Mon Sep 17 00:00:00 2001 From: Pulkit Jalan Date: Wed, 4 Mar 2020 10:20:25 +0000 Subject: [PATCH] chore(deps): Add laravel 7 support (#34) --- .travis.yml | 14 +++++++++++++- composer.json | 4 ++-- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index f686297..cb3f7d1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -31,10 +31,22 @@ matrix: env: LARAVEL='6.*' COMPOSER_FLAGS='--prefer-lowest' - php: 7.4 env: LARAVEL='6.*' COMPOSER_FLAGS='--prefer-stable' + - php: 7.2 + env: LARAVEL='7.*' COMPOSER_FLAGS='--prefer-lowest' + - php: 7.2 + env: LARAVEL='7.*' COMPOSER_FLAGS='--prefer-stable' + - php: 7.3 + env: LARAVEL='7.*' COMPOSER_FLAGS='--prefer-lowest' + - php: 7.3 + env: LARAVEL='7.*' COMPOSER_FLAGS='--prefer-stable' + - php: 7.4 + env: LARAVEL='7.*' COMPOSER_FLAGS='--prefer-lowest' + - php: 7.4 + env: LARAVEL='7.*' COMPOSER_FLAGS='--prefer-stable' before_install: - travis_retry composer self-update - - travis_retry composer require --no-update --no-interaction "illuminate/support:${LARAVEL}" + - travis_retry composer require "illuminate/support:${LARAVEL}" --no-update --no-interaction install: - travis_retry composer update ${COMPOSER_FLAGS} --prefer-dist --no-interaction --no-suggest diff --git a/composer.json b/composer.json index 269363f..c12a93d 100644 --- a/composer.json +++ b/composer.json @@ -17,8 +17,8 @@ ], "require": { "php": "^7.2", - "illuminate/support": "~5.8.0|^6.0", - "illuminate/console": "~5.8.0|^6.0", + "illuminate/support": "^5.8|^6|^7", + "illuminate/console": "^5.8|^6|^7", "guzzlehttp/guzzle": "^6.5", "geoip2/geoip2": "^2.10" },