Add linting and code-sniffing to the Travis CI build

This commit is contained in:
Ben Ramsey
2015-12-17 12:00:40 -06:00
parent 805d8e1894
commit f7d836e7ec
+4 -1
View File
@@ -26,6 +26,9 @@ before_script:
- composer self-update
- composer update $COMPOSER_FLAGS --prefer-source
script: ./vendor/bin/phpunit --coverage-clover ./build/logs/clover.xml
script:
- ./vendor/bin/parallel-lint src tests
- ./vendor/bin/phpunit --verbose
- ./vendor/bin/phpcs src --standard=psr2 -sp
after_script: php vendor/bin/coveralls