Skip to content

Commit 5f3086b

Browse files
committedDec 5, 2016
Use parallel-lint for linting
1 parent 0909e60 commit 5f3086b

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed
 

‎.travis.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ cache:
1818

1919
install:
2020
- composer install
21-
- composer show
21+
- composer show -t
2222

2323
script:
24-
- find -name "*.php" -not -path "./vendor/*" -print0 | xargs -n 1 -0 php -l
25-
- $(php -r 'if (PHP_MAJOR_VERSION >= 7) echo "phpdbg -qrr"; else echo "php";') vendor/bin/phpunit --coverage-text --coverage-clover build/logs/clover.xml
24+
- php vendor/bin/parallel-lint --exclude vendor .
25+
- php vendor/bin/phpunit --coverage-text

‎composer.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@
77
"php": ">=5.5.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)