Skip to content

Commit ee3fa6c

Browse files
committed
Add CI files
1 parent 2185ce2 commit ee3fa6c

File tree

2 files changed

+46
-0
lines changed

2 files changed

+46
-0
lines changed

.scrutinizer.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
filter:
2+
excluded_paths:
3+
- "config/"
4+
- "tests/"
5+
checks:
6+
php:
7+
code_rating: true
8+
remove_extra_empty_lines: true
9+
remove_php_closing_tag: true
10+
remove_trailing_whitespace: true
11+
fix_use_statements:
12+
remove_unused: true
13+
preserve_multiple: false
14+
preserve_blanklines: true
15+
order_alphabetically: true
16+
fix_php_opening_tag: true
17+
fix_linefeed: true
18+
fix_line_ending: true
19+
fix_identation_4spaces: true
20+
fix_doc_comments: true
21+
build:
22+
tests:
23+
override:
24+
-
25+
command: 'vendor/bin/phpunit --coverage-clover=coverage.clover'
26+
coverage:
27+
file: 'coverage.clover'
28+
format: 'clover'

.travis.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
language: php
2+
3+
php:
4+
- 7.1
5+
- 7.2
6+
7+
sudo: false
8+
9+
cache:
10+
directories:
11+
- $HOME/.composer/cache
12+
13+
before_script:
14+
- travis_retry composer self-update
15+
- travis_retry composer update --no-interaction
16+
17+
script:
18+
- vendor/bin/phpunit

0 commit comments

Comments
 (0)