Browse Source

Merge pull request #80 from vinkla/laravel55

Add Laravel 5.5 support
master
Tom 7 years ago
committed by GitHub
parent
commit
d2f6fbce97
  1. 14
      .travis.yml
  2. 24
      composer.json

14
.travis.yml

@ -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

24
composer.json

@ -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" :{
"graham-campbell/testbench": "^3.1",
"mockery/mockery": "^0.9.4",
"phpunit/phpunit": "^4.8 || ^5.0"
"require-dev": {
"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
} }
Loading…
Cancel
Save