Skip to content

Commit

Permalink
Merge af5efa6 into 9f26f7e
Browse files Browse the repository at this point in the history
  • Loading branch information
axlon committed Sep 27, 2019
2 parents 9f26f7e + af5efa6 commit d24ea29
Show file tree
Hide file tree
Showing 3 changed files with 77 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .scrutinizer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
filter:
paths:
- 'src/*'
excluded_paths:
- 'tests/*'
- 'vendor/*'

checks:
php: true

tools:
external_code_coverage:
runs: 18
timeout: 600
20 changes: 20 additions & 0 deletions .styleci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
preset: psr2

enabled:
- alpha_ordered_imports
- concat_with_spaces
- no_trailing_comma_in_list_call
- no_trailing_comma_in_singleline_array
- no_unused_imports
- no_useless_else
- no_useless_return
- no_whitespace_before_comma_in_array
- short_array_syntax
- trailing_comma_in_multiline_array

risky: true

finder:
exclude:
- vendor
name: "*.php"
43 changes: 43 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
language: php

cache:
directories:
- $HOME/.composer/cache

php:
- 7.0
- 7.1
- 7.2
- 7.3

env:
- ILLUMINATE_VERSION=5.5.* PHPUNIT_VERSION=^6.0
- ILLUMINATE_VERSION=5.6.* PHPUNIT_VERSION=^7.0
- ILLUMINATE_VERSION=5.7.* PHPUNIT_VERSION=^7.0
- ILLUMINATE_VERSION=5.8.* PHPUNIT_VERSION=^7.0
- ILLUMINATE_VERSION=^6.0 PHPUNIT_VERSION=^7.0

matrix:
exclude:
# Laravel 6 does not support PHP 7.0 or 7.1
- php: 7.0
env: ILLUMINATE_VERSION=^6.0 PHPUNIT_VERSION=^7.0
- php: 7.1
env: ILLUMINATE_VERSION=^6.0 PHPUNIT_VERSION=^7.0

sudo: false

before_install:
- composer require illuminate/notifications:"${ILLUMINATE_VERSION}" illuminate/support:"${ILLUMINATE_VERSION}" --no-update
- composer require illuminate/database:"${ILLUMINATE_VERSION}" illuminate/queue:"${ILLUMINATE_VERSION}" --dev --no-update
- composer require phpunit/phpunit:"${PHPUNIT_VERSION}" --dev --no-update

install:
- composer install --no-interaction --no-progress --no-suggest --prefer-dist

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

after_script:
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover

0 comments on commit d24ea29

Please sign in to comment.