summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.scrutinizer.yml17
-rw-r--r--.travis.yml2
2 files changed, 17 insertions, 2 deletions
diff --git a/.scrutinizer.yml b/.scrutinizer.yml
index 46255e4..68a9b22 100644
--- a/.scrutinizer.yml
+++ b/.scrutinizer.yml
@@ -1,6 +1,6 @@
filter:
paths: [src/*]
- excluded_paths: [examples, test]
+ excluded_paths: [examples/*, test/*]
checks:
php:
code_rating: true
@@ -19,4 +19,17 @@ checks:
fix_doc_comments: true
tools:
external_code_coverage:
- timeout: 1200 \ No newline at end of file
+ timeout: 600
+ runs: 3
+ php_code_coverage: false
+ php_code_sniffer:
+ config:
+ standard: PSR2
+ filter:
+ paths: ['src']
+ php_loc:
+ enabled: true
+ excluded_dirs: [examples, test, vendor]
+ php_cpd:
+ enabled: true
+ excluded_dirs: [examples, test, vendor] \ No newline at end of file
diff --git a/.travis.yml b/.travis.yml
index 8b2d2c4..57a217e 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -5,7 +5,9 @@ sudo: false
matrix:
include:
- php: 5.5
+ env: COLLECT_COVERAGE=true
- php: 5.6
+ env: COLLECT_COVERAGE=true
- php: 7.0
env: COLLECT_COVERAGE=true
- php: hhvm