Skip to content

Commit

Permalink
Laravel 5.6 / travis try #1
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyslik committed Feb 12, 2018
1 parent dcb5938 commit 7bd982a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 11 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,15 @@ php:
git:
depth: 3

env:
- version=L5-5
- version=L5-6

matrix:
exlude:
- php: 7.0
- env: version=L5-6

sudo: false

cache:
Expand All @@ -20,6 +29,8 @@ before_install:

install:
- travis_retry composer install --no-interaction --prefer-dist --no-suggest;
- if [[ $version = 'L5-5' ]]; then travis_retry composer require --dev --update-with-dependencies --no-suggest --no-interaction orchestra/testbench:"3.5.*"; fi
- if [[ $version = 'L5-6' ]]; then travis_retry composer require --dev --update-with-dependencies --no-suggest --no-interaction orchestra/testbench:"3.6.*"; fi

script: vendor/bin/phpunit

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"Illuminate/Database": "5.5.*|5.6.*"
},
"require-dev": {
"phpunit/phpunit": "^6.0",
"phpunit/phpunit": "^6.0|^7.0",
"orchestra/testbench": "3.5.*|3.6.*"
},
"autoload": {
Expand Down

0 comments on commit 7bd982a

Please sign in to comment.