Browse Source
Add Laravel 5.5 support
Removed tests for HHVM and add testing on PHP version 7.1 and 7.2. Added support for Laravel 5.5.
master
Vincent Klaiber
7 years ago
No known key found for this signature in database
GPG Key ID: 66C8C908EAE057A4
2 changed files with
23 additions and
15 deletions
-
.travis.yml
-
composer.json
|
@ -5,17 +5,13 @@ php: |
|
|
- 5.5 |
|
|
- 5.5 |
|
|
- 5.6 |
|
|
- 5.6 |
|
|
- 7.0 |
|
|
- 7.0 |
|
|
- hhvm |
|
|
|
|
|
|
|
|
- 7.1 |
|
|
|
|
|
- 7.2 |
|
|
|
|
|
|
|
|
sudo: false |
|
|
sudo: false |
|
|
|
|
|
|
|
|
install: |
|
|
install: |
|
|
- travis_retry composer install --no-interaction --prefer-source |
|
|
|
|
|
|
|
|
- travis_retry composer install --no-interaction |
|
|
|
|
|
|
|
|
script: |
|
|
script: |
|
|
- if [ "$TRAVIS_PHP_VERSION" != "5.5.9" ] && [ "$TRAVIS_PHP_VERSION" != "5.5" ] && [ "$TRAVIS_PHP_VERSION" != "5.6" ]; then vendor/bin/phpunit; fi |
|
|
|
|
|
- if [ "$TRAVIS_PHP_VERSION" == "5.5.9" ] || [ "$TRAVIS_PHP_VERSION" == "5.5" ] || [ "$TRAVIS_PHP_VERSION" == "5.6" ]; then vendor/bin/phpunit --coverage-clover build/logs/clover.xml; fi |
|
|
|
|
|
|
|
|
|
|
|
after_script: |
|
|
|
|
|
- if [ "$TRAVIS_PHP_VERSION" == "5.5.9" ] || [ "$TRAVIS_PHP_VERSION" == "5.5" ] || [ "$TRAVIS_PHP_VERSION" == "5.6" ]; then wget https://scrutinizer-ci.com/ocular.phar; fi |
|
|
|
|
|
- if [ "$TRAVIS_PHP_VERSION" == "5.5.9" ] || [ "$TRAVIS_PHP_VERSION" == "5.5" ] || [ "$TRAVIS_PHP_VERSION" == "5.6" ]; then php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml; fi |
|
|
|
|
|
|
|
|
- vendor/bin/phpunit |
|
@ -10,13 +10,12 @@ |
|
|
} |
|
|
} |
|
|
], |
|
|
], |
|
|
"require": { |
|
|
"require": { |
|
|
"php": "^5.5.9 || >=7.0", |
|
|
|
|
|
"illuminate/support": "5.1.* || 5.2.* || 5.3.* || 5.4.*" |
|
|
|
|
|
|
|
|
"php": "^5.5.9 || ^7.0", |
|
|
|
|
|
"illuminate/support": "5.1.* || 5.2.* || 5.3.* || 5.4.* || 5.5.*" |
|
|
}, |
|
|
}, |
|
|
"require-dev": { |
|
|
"require-dev": { |
|
|
"graham-campbell/testbench": "^3.1", |
|
|
|
|
|
"mockery/mockery": "^0.9.4", |
|
|
|
|
|
"phpunit/phpunit": "^4.8 || ^5.0" |
|
|
|
|
|
|
|
|
"graham-campbell/testbench": "^3.4 || ^4.0", |
|
|
|
|
|
"phpunit/phpunit": "^4.8 || ^5.7 || ^6.3" |
|
|
}, |
|
|
}, |
|
|
"autoload": { |
|
|
"autoload": { |
|
|
"psr-4": { |
|
|
"psr-4": { |
|
@ -31,6 +30,19 @@ |
|
|
"config": { |
|
|
"config": { |
|
|
"preferred-install": "dist" |
|
|
"preferred-install": "dist" |
|
|
}, |
|
|
}, |
|
|
|
|
|
"extra": { |
|
|
|
|
|
"branch-alias": { |
|
|
|
|
|
"dev-master": "3.0-dev" |
|
|
|
|
|
}, |
|
|
|
|
|
"laravel": { |
|
|
|
|
|
"providers": [ |
|
|
|
|
|
"TomLingham\\Searchy\\SearchyServiceProvider" |
|
|
|
|
|
], |
|
|
|
|
|
"aliases": { |
|
|
|
|
|
"Searchy": "TomLingham\\Searchy\\Facades\\Searchy" |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
"minimum-stability": "dev", |
|
|
"minimum-stability": "dev", |
|
|
"prefer-stable": true |
|
|
"prefer-stable": true |
|
|
} |
|
|
} |