Skip to content

Commit f3235ad

Browse files
committed
test: add lint test
Signed-off-by: Thierry Bugier <tbugier@teclib.com>
1 parent b6d8683 commit f3235ad

3 files changed

Lines changed: 53 additions & 3 deletions

File tree

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ script:
8181
- ./vendor/bin/atoum -ft -bf tests/bootstrap.php -d tests/suite-integration $COVERAGE
8282
- ./vendor/bin/atoum -ft -bf tests/bootstrap.php -d tests/suite-unit $COVERAGE
8383
- ./vendor/bin/atoum -ft -bf tests/bootstrap.php -d tests/suite-uninstall -ncc
84+
- ./vendor/bin/parallel-lint --exclude vendor .
8485
- if [ "${TRAVIS_PHP_VERSION:0:3}" = "$CS" ] && [ "$GLPI_BRANCH" = "$AFTER_SUCCESS_BRANCH" ]; then vendor/bin/robo --no-interaction code:cs; fi
8586

8687
after_success:

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@
2323
"atoum/stubs": "^2.5",
2424
"glpi-project/tools": "^0.1.0",
2525
"glpi-project/coding-standard": "0.7.1",
26-
"atoum/reports-extension": "^3.0"
26+
"atoum/reports-extension": "^3.0",
27+
"jakub-onderka/php-parallel-lint": "^1.0"
2728
},
2829
"autoload-dev": {
2930
"psr-4": {

composer.lock

Lines changed: 50 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)