mirror of
https://github.com/dg/dibi.git
synced 2025-08-06 06:07:39 +02:00
* .travis: added code checker
This commit is contained in:
@@ -10,12 +10,15 @@ matrix:
|
|||||||
allow_failures:
|
allow_failures:
|
||||||
- php: hhvm
|
- php: hhvm
|
||||||
|
|
||||||
script: vendor/bin/tester tests -s -c tests/php-unix.ini
|
script:
|
||||||
|
- vendor/bin/tester tests -s -c tests/php-unix.ini
|
||||||
|
- php code-checker/src/code-checker.php
|
||||||
|
|
||||||
after_failure:
|
after_failure:
|
||||||
# Print *.actual content
|
# Print *.actual content
|
||||||
- for i in $(find tests -name \*.actual); do echo "--- $i"; cat $i; echo; echo; done
|
- for i in $(find tests -name \*.actual); do echo "--- $i"; cat $i; echo; echo; done
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
# Install Nette Tester
|
# Install Nette Tester & Code Checker
|
||||||
- composer install --no-interaction --dev --prefer-source
|
- composer install --no-interaction --dev --prefer-source
|
||||||
|
- composer create-project nette/code-checker code-checker ~2.3 --no-interaction --prefer-source
|
||||||
|
Reference in New Issue
Block a user