Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Laravel 7 and more rigorous testing #385

Merged
merged 5 commits into from
Feb 25, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@
/.idea
Gemfile.lock
maze_output
.phpunit.result.cache
200 changes: 79 additions & 121 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,143 +1,106 @@
language: php

sudo: false

matrix:
include:
- php: 5.5.9
dist: trusty
env:
- GUZZLE_VERSION=^5.3
- LARAVEL_VERSION=5.1.*
- php: 5.5.9
dist: trusty
env:
- GUZZLE_VERSION=^6.0
- LARAVEL_VERSION=5.1.*
env: LARAVEL_VERSION=5.1.*
- php: 5.5
dist: trusty
env:
- GUZZLE_VERSION=^5.3
- LARAVEL_VERSION=5.1.*
env: LARAVEL_VERSION=5.1.*
- php: 5.5
dist: trusty
env:
- GUZZLE_VERSION=^6.0
- LARAVEL_VERSION=5.1.*
env: LARAVEL_VERSION=5.2.*
- php: 5.6
env:
- GUZZLE_VERSION=^5.3
- LARAVEL_VERSION=5.4.*
dist: xenial
env: LARAVEL_VERSION=5.1.*
- php: 5.6
env:
- GUZZLE_VERSION=^6.0
- LARAVEL_VERSION=5.4.*
dist: xenial
env: LARAVEL_VERSION=5.2.*
- php: 5.6
dist: xenial
env: LARAVEL_VERSION=5.3.*
- php: 5.6
dist: xenial
env: LARAVEL_VERSION=5.4.*
- php: 7.0
dist: xenial
env: LARAVEL_VERSION=5.1.*
- php: 7.0
env:
- GUZZLE_VERSION=^5.3
- LARAVEL_VERSION=5.5.*
dist: xenial
env: LARAVEL_VERSION=5.2.*
- php: 7.0
env:
- GUZZLE_VERSION=^6.0
- LARAVEL_VERSION=5.5.*
dist: xenial
env: LARAVEL_VERSION=5.3.*
- php: 7.0
dist: xenial
env: LARAVEL_VERSION=5.4.*
- php: 7.0
dist: xenial
env: LARAVEL_VERSION=5.5.*
- php: 7.1
env:
- GUZZLE_VERSION=^5.3
- LARAVEL_VERSION=5.5.*
dist: bionic
env: LARAVEL_VERSION=5.3.*
- php: 7.1
env:
- GUZZLE_VERSION=^6.0
- LARAVEL_VERSION=5.5.*
dist: bionic
env: LARAVEL_VERSION=5.4.*
- php: 7.1
env:
- GUZZLE_VERSION=^5.3
- LARAVEL_VERSION=5.6.*
dist: bionic
env: LARAVEL_VERSION=5.5.*
- php: 7.1
env:
- GUZZLE_VERSION=^6.0
- LARAVEL_VERSION=5.6.*
dist: bionic
env: LARAVEL_VERSION=5.6.*
- php: 7.1
env:
- GUZZLE_VERSION=^5.3
- LARAVEL_VERSION=5.8.*
dist: bionic
env: LARAVEL_VERSION=5.7.*
- php: 7.1
env:
- GUZZLE_VERSION=^6.0
- LARAVEL_VERSION=5.8.*
dist: bionic
env: LARAVEL_VERSION=5.8.*
- php: 7.2
env:
- GUZZLE_VERSION=^5.3
- LARAVEL_VERSION=5.5.*
dist: bionic
env: LARAVEL_VERSION=5.5.*
- php: 7.2
env:
- GUZZLE_VERSION=^6.0
- LARAVEL_VERSION=5.5.*
dist: bionic
env: LARAVEL_VERSION=5.6.*
- php: 7.2
env:
- GUZZLE_VERSION=^5.3
- LARAVEL_VERSION=5.6.*
dist: bionic
env: LARAVEL_VERSION=5.7.*
- php: 7.2
env:
- GUZZLE_VERSION=^6.0
- LARAVEL_VERSION=5.6.*
dist: bionic
env: LARAVEL_VERSION=5.8.*
- php: 7.2
env:
- GUZZLE_VERSION=^5.3
- LARAVEL_VERSION=5.8.*
dist: bionic
env: LARAVEL_VERSION=6.*
- php: 7.2
env:
- GUZZLE_VERSION=^6.0
- LARAVEL_VERSION=5.8.*
dist: bionic
env: LARAVEL_VERSION=7.*
- php: 7.3
env:
- GUZZLE_VERSION=^5.3
- LARAVEL_VERSION=5.8.*
dist: bionic
env: LARAVEL_VERSION=5.5.*
- php: 7.3
env:
- GUZZLE_VERSION=^6.0
- LARAVEL_VERSION=5.8.*
- php: hhvm-3.6
sudo: required
dist: trusty
group: edge
env:
- GUZZLE_VERSION=^5.3
- LARAVEL_VERSION=5.1.*
- php: hhvm-3.6
sudo: required
dist: trusty
group: edge
env:
- GUZZLE_VERSION=^6.0
- LARAVEL_VERSION=5.1.*
- php: hhvm-3.9
sudo: required
dist: trusty
group: edge
env:
- GUZZLE_VERSION=^5.3
- LARAVEL_VERSION=5.1.*
- php: hhvm-3.9
sudo: required
dist: trusty
group: edge
env:
- GUZZLE_VERSION=^6.0
- LARAVEL_VERSION=5.1.*
- php: hhvm-3.12
sudo: required
dist: trusty
group: edge
env:
- GUZZLE_VERSION=^5.3
- LARAVEL_VERSION=5.1.*
- php: hhvm-3.12
sudo: required
dist: trusty
group: edge
env:
- GUZZLE_VERSION=^6.0
- LARAVEL_VERSION=5.1.*
dist: bionic
env: LARAVEL_VERSION=5.6.*
- php: 7.3
dist: bionic
env: LARAVEL_VERSION=5.7.*
- php: 7.3
dist: bionic
env: LARAVEL_VERSION=5.8.*
- php: 7.3
dist: bionic
env: LARAVEL_VERSION=6.*
- php: 7.3
dist: bionic
env: LARAVEL_VERSION=7.*
- php: 7.4
dist: bionic
env: LARAVEL_VERSION=5.8.*
- php: 7.4
dist: bionic
env: LARAVEL_VERSION=6.*
- php: 7.4
dist: bionic
env: LARAVEL_VERSION=7.*
- addons:
apt:
packages:
Expand All @@ -149,8 +112,7 @@ matrix:
before_install: ruby --version
install: bundle install
script: bundle exec bugsnag-maze-runner -c
env:
- LARAVEL_FIXTURE=laravel56
env: LARAVEL_FIXTURE=laravel56
- addons:
apt:
packages:
Expand All @@ -162,8 +124,7 @@ matrix:
before_install: ruby --version
install: bundle install
script: bundle exec bugsnag-maze-runner -c
env:
- LARAVEL_FIXTURE=laravel58
env: LARAVEL_FIXTURE=laravel58
- addons:
apt:
packages:
Expand All @@ -175,13 +136,10 @@ matrix:
before_install: ruby --version
install: bundle install
script: bundle exec bugsnag-maze-runner -c
env:
- LARAVEL_FIXTURE=laravel66
env: LARAVEL_FIXTURE=laravel66

before_install:
- if [[ $TRAVIS_PHP_VERSION =~ ^hhvm ]]; then echo 'hhvm.jit = false' >> /etc/hhvm/php.ini ; fi
- composer require "guzzlehttp/guzzle:${GUZZLE_VERSION}" --no-update
- composer require "laravel/framework:${LARAVEL_VERSION}" --no-update
- travis_retry composer require "laravel/framework:${LARAVEL_VERSION}" --no-update
- echo "memory_limit=2G" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini

install:
Expand Down
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@
],
"require": {
"php": ">=5.5",
"illuminate/contracts": "^5.0|^6.0",
"illuminate/support": "^5.0|^6.0",
"bugsnag/bugsnag": "^3.17.0",
"bugsnag/bugsnag": "^3.20",
"bugsnag/bugsnag-psr-logger": "^1.4",
"illuminate/contracts": "^5.0|^6.0|^7.0",
"illuminate/support": "^5.0|^6.0|^7.0",
"monolog/monolog": "^1.12|^2.0"
},
"require-dev": {
"graham-campbell/testbench": "^3.1|^4.0|^5.0",
"mockery/mockery": "^0.9.4|~1.1.0",
"phpunit/phpunit": "^4.8|^5.0|^6.0|^7.0"
"mockery/mockery": "^0.9.4|^1.3.1",
"phpunit/phpunit": "^4.8.36|^5.6.3|^6.3.1|^7.5.15|^8.3.5"
},
"autoload": {
"psr-4": {
Expand Down