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
parent
commit
d938954cb9
No known key found for this signature in database GPG Key ID: 66C8C908EAE057A4
  1. 12
      .travis.yml
  2. 22
      composer.json

12
.travis.yml

@ -5,17 +5,13 @@ php:
- 5.5
- 5.6
- 7.0
- hhvm
- 7.1
- 7.2
sudo: false
install:
- travis_retry composer install --no-interaction --prefer-source
- travis_retry composer install --no-interaction
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

22
composer.json

@ -10,13 +10,12 @@
}
],
"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": {
"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": {
"psr-4": {
@ -31,6 +30,19 @@
"config": {
"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",
"prefer-stable": true
}
Loading…
Cancel
Save