-
-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update for Laravel 5.8. * Update docs. * Update minimun PHP version.
- Loading branch information
1 parent
e9162b2
commit eedc667
Showing
5 changed files
with
77 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
.idea | ||
vendor | ||
composer.lock | ||
composer.lock | ||
.phpunit.result.cache |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,74 +1,80 @@ | ||
language: php | ||
|
||
sudo: false | ||
dist: xenial | ||
|
||
matrix: | ||
include: | ||
- php: 5.5.9 | ||
env: LARAVEL_VERSION=5.1.* | ||
- php: 5.5.9 | ||
env: LARAVEL_VERSION=5.2.* | ||
- php: 5.5 | ||
env: LARAVEL_VERSION=5.1.* | ||
- php: 5.5 | ||
env: LARAVEL_VERSION=5.2.* | ||
- php: 5.6 | ||
env: LARAVEL_VERSION=5.1.* | ||
- php: 5.6 | ||
env: LARAVEL_VERSION=5.2.* | ||
- php: 5.6 | ||
env: LARAVEL_VERSION=5.3.* | ||
- php: 5.6 | ||
env: LARAVEL_VERSION=5.4.* | ||
- php: 7.0 | ||
env: LARAVEL_VERSION=5.1.* | ||
- php: 7.0 | ||
env: LARAVEL_VERSION=5.2.* | ||
- php: 7.0 | ||
env: LARAVEL_VERSION=5.3.* | ||
- php: 7.0 | ||
env: LARAVEL_VERSION=5.4.* | ||
- php: 7.0 | ||
env: LARAVEL_VERSION=5.5.* | ||
- php: 7.1 | ||
env: LARAVEL_VERSION=5.1.* | ||
- php: 7.1 | ||
env: LARAVEL_VERSION=5.2.* | ||
- php: 7.1 | ||
env: LARAVEL_VERSION=5.3.* | ||
- php: 7.1 | ||
env: LARAVEL_VERSION=5.4.* | ||
- php: 7.1 | ||
env: LARAVEL_VERSION=5.5.* | ||
- php: 7.1 | ||
env: LARAVEL_VERSION=5.6.* | ||
- php: 7.1 | ||
env: LARAVEL_VERSION=5.7.* | ||
- php: 7.2 | ||
env: LARAVEL_VERSION=5.6.* | ||
- php: 7.2 | ||
env: LARAVEL_VERSION=5.7.* | ||
- php: hhvm | ||
env: LARAVEL_VERSION=5.1.* | ||
- php: hhvm | ||
env: LARAVEL_VERSION=5.2.* | ||
- php: hhvm | ||
env: LARAVEL_VERSION=5.3.* | ||
- php: hhvm | ||
env: LARAVEL_VERSION=5.4.* | ||
- env: | ||
- PHP_VERSION=7.1 | ||
- LARAVEL_VERSION=5.5.* | ||
- SYMFONY_VERSION=^3.0 | ||
- PHPUNIT_VERSION=^6.5 | ||
- env: | ||
- PHP_VERSION=7.1 | ||
- LARAVEL_VERSION=5.6.* | ||
- SYMFONY_VERSION=^4.0 | ||
- PHPUNIT_VERSION=^7.5 | ||
- env: | ||
- PHP_VERSION=7.1 | ||
- LARAVEL_VERSION=5.7.* | ||
- SYMFONY_VERSION=^4.0 | ||
- PHPUNIT_VERSION=^7.5 | ||
- env: | ||
- PHP_VERSION=7.1 | ||
- LARAVEL_VERSION=5.8.* | ||
- SYMFONY_VERSION=^4.0 | ||
- PHPUNIT_VERSION=^7.5 | ||
- env: | ||
- PHP_VERSION=7.2 | ||
- LARAVEL_VERSION=5.5.* | ||
- SYMFONY_VERSION=^3.0 | ||
- PHPUNIT_VERSION=^6.5 | ||
- env: | ||
- PHP_VERSION=7.2 | ||
- LARAVEL_VERSION=5.6.* | ||
- SYMFONY_VERSION=^4.0 | ||
- PHPUNIT_VERSION=^7.5 | ||
- env: | ||
- PHP_VERSION=7.2 | ||
- LARAVEL_VERSION=5.7.* | ||
- SYMFONY_VERSION=^4.0 | ||
- PHPUNIT_VERSION=^7.5 | ||
- env: | ||
- PHP_VERSION=7.2 | ||
- LARAVEL_VERSION=5.8.* | ||
- SYMFONY_VERSION=^4.0 | ||
- PHPUNIT_VERSION=^8.0 | ||
- env: | ||
- PHP_VERSION=7.3 | ||
- LARAVEL_VERSION=5.5.* | ||
- SYMFONY_VERSION=^3.0 | ||
- PHPUNIT_VERSION=^6.5 | ||
- env: | ||
- PHP_VERSION=7.3 | ||
- LARAVEL_VERSION=5.6.* | ||
- SYMFONY_VERSION=^4.0 | ||
- PHPUNIT_VERSION=^7.5 | ||
- env: | ||
- PHP_VERSION=7.3 | ||
- LARAVEL_VERSION=5.7.* | ||
- SYMFONY_VERSION=^4.0 | ||
- PHPUNIT_VERSION=^7.5 | ||
- env: | ||
- PHP_VERSION=7.3 | ||
- LARAVEL_VERSION=5.8.* | ||
- SYMFONY_VERSION=^4.0 | ||
- PHPUNIT_VERSION=^8.0 | ||
|
||
|
||
before_install: | ||
- if [[ $TRAVIS_PHP_VERSION =~ ^hhvm ]]; then echo 'hhvm.jit = false' >> /etc/hhvm/php.ini ; fi | ||
- composer self-update --stable -n | ||
- composer require "laravel/framework:${LARAVEL_VERSION}" --no-update -n | ||
- travis_retry docker pull registry.gitlab.com/grahamcampbell/php:$PHP_VERSION | ||
- docker run -it -w /data -v ${PWD}:/data:delegated --entrypoint composer registry.gitlab.com/grahamcampbell/php:$PHP_VERSION require "laravel/framework:${LARAVEL_VERSION}" --no-update -n | ||
- docker run -it -w /data -v ${PWD}:/data:delegated --entrypoint composer registry.gitlab.com/grahamcampbell/php:$PHP_VERSION require "symfony/lts:${SYMFONY_VERSION}" --no-update -n | ||
- docker run -it -w /data -v ${PWD}:/data:delegated --entrypoint composer registry.gitlab.com/grahamcampbell/php:$PHP_VERSION require "phpunit/phpunit:${PHPUNIT_VERSION}" --dev --no-update -n | ||
|
||
install: | ||
- travis_retry composer install --no-suggest --prefer-dist -n -o | ||
- travis_retry docker run -it -w /data -v ${PWD}:/data:delegated --entrypoint composer registry.gitlab.com/grahamcampbell/php:$PHP_VERSION install --no-suggest --prefer-dist -n -o | ||
|
||
script: | ||
- if [ "$TRAVIS_PHP_VERSION" != "5.6" ]; then vendor/bin/phpunit; fi | ||
- if [ "$TRAVIS_PHP_VERSION" == "5.6" ]; then vendor/bin/phpunit --coverage-clover build/logs/clover.xml; fi | ||
- docker run -it -w /data -v ${PWD}:/data:delegated --entrypoint vendor/bin/phpunit registry.gitlab.com/grahamcampbell/php:$PHP_VERSION --coverage-clover build/logs/clover.xml | ||
|
||
after_script: | ||
- if [ "$TRAVIS_PHP_VERSION" == "5.6" ]; then wget https://scrutinizer-ci.com/ocular.phar; fi | ||
- if [ "$TRAVIS_PHP_VERSION" == "5.6" ]; then php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml; fi | ||
- travis_retry docker run -it -w /data -v ${PWD}:/data:delegated --entrypoint ocular registry.gitlab.com/grahamcampbell/php:$PHP_VERSION code-coverage:upload --format=php-clover build/logs/clover.xml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters