Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
freekmurze committed Feb 28, 2019
1 parent 4423ac0 commit 002987c
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 12 deletions.
19 changes: 12 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,25 @@
language: php

php:
- 7.1
- 7.2
- 7.3

env:
matrix:
- COMPOSER_FLAGS="--prefer-lowest"
global:
- COMPOSER_FLAGS=""
matrix:
- LARAVEL=5.7.*
- LARAVEL=5.8.*
- COMPOSER_FLAGS="--prefer-lowest" LARAVEL=5.7.*
- COMPOSER_FLAGS="--prefer-lowest" LARAVEL=5.8.*

before_script:
before_install:
- travis_retry composer self-update

before_script:
- travis_retry composer require "laravel/framework=${LARAVEL}" --prefer-source --no-interaction --no-suggest
- travis_retry composer update ${COMPOSER_FLAGS} --no-interaction --prefer-source

script:
- vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover

after_script:
- php vendor/bin/ocular code-coverage:upload --format=php-clover coverage.clover
- ./vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover
7 changes: 3 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,11 @@
}
],
"require": {
"php": "^7.2",
"laravel/framework": "^5.7"
"php": "^7.1",
"laravel/framework": "~5.7|~5.8"
},
"require-dev": {
"orchestra/testbench": "^3.7",
"phpunit/phpunit": "^7.5"
"orchestra/testbench": "~3.7|~3.8"
},
"autoload": {
"psr-4": {
Expand Down
2 changes: 1 addition & 1 deletion tests/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class TestCase extends OrchestraTestCase
{
const LOG_PATH = __DIR__.'/temp/queue.log';

protected function setUp()
protected function setUp(): void
{
parent::setUp();

Expand Down

0 comments on commit 002987c

Please sign in to comment.