Skip to content

Commit d47e280

Browse files
committed
Use parallel lint
1 parent 80f375f commit d47e280

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@ install:
2222
- composer show -t
2323

2424
script:
25-
- find -name "*.php" -not -path "./vendor/*" -print0 | xargs -n 1 -0 php -l
26-
- php vendor/bin/phpunit --coverage-text --coverage-clover build/logs/clover.xml
25+
- php vendor/bin/parallel-lint --exclude vendor .
26+
- php vendor/bin/phpunit --coverage-text --coverage-clover build/logs/clover.xml

composer.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@
77
"php": ">=5.4.0"
88
},
99
"require-dev": {
10-
"phpunit/phpunit": "^4|^5"
10+
"phpunit/phpunit": "^4|^5",
11+
"jakub-onderka/php-parallel-lint": "^0.9.2",
12+
"jakub-onderka/php-console-highlighter": "^0.3.2"
1113
},
1214
"autoload": {
1315
"psr-4": {

0 commit comments

Comments
 (0)