Skip to content

Commit a84948d

Browse files
author
Jamie Hannaford
committed
modify configs
1 parent d8cb7d8 commit a84948d

File tree

2 files changed

+32
-21
lines changed

2 files changed

+32
-21
lines changed

.scrutinizer.yml

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -8,24 +8,3 @@ filter:
88

99
checks:
1010
php: true
11-
12-
tools:
13-
php_cs_fixer:
14-
fixers:
15-
- 'psr2'
16-
filter:
17-
paths:
18-
- 'samples/*'
19-
- 'src/*'
20-
- 'tests/*'
21-
22-
build:
23-
tests:
24-
before:
25-
- 'vendor/bin/parallel-lint --exclude vendor .'
26-
override:
27-
-
28-
command: './vendor/bin/phpunit --coverage-clover ./coverage.xml'
29-
coverage:
30-
file: 'coverage.xml'
31-
format: 'php-clover'

.travis.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
language: php
2+
3+
sudo: false
4+
5+
cache:
6+
directories:
7+
- $HOME/.composer/cache
8+
9+
matrix:
10+
include:
11+
- php: 5.6
12+
- php: 7.0
13+
- php: hhvm
14+
allow_failures:
15+
- php: 7.0
16+
- php: hhvm
17+
fast_finish: true
18+
19+
before_install:
20+
- composer self-update
21+
22+
before_script:
23+
- composer install --prefer-source
24+
- vendor/bin/parallel-lint --exclude vendor .
25+
- vendor/bin/php-cs-fixer fix --dry-run --diff --level psr2 .
26+
27+
after_script:
28+
- php vendor/bin/coveralls -v
29+
30+
notifications:
31+
email:
32+

0 commit comments

Comments
 (0)