Skip to content

Commit b7cb820

Browse files
committed
.travis: added code checker
1 parent f58f144 commit b7cb820

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.travis.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,15 @@ matrix:
1010
allow_failures:
1111
- php: hhvm
1212

13-
script: vendor/bin/tester tests -s -c tests/php-unix.ini
13+
script:
14+
- vendor/bin/tester tests -s -c tests/php-unix.ini
15+
- php code-checker/src/code-checker.php -d src
1416

1517
after_failure:
1618
# Print *.actual content
1719
- for i in $(find tests -name \*.actual); do echo "--- $i"; cat $i; echo; echo; done
1820

1921
before_script:
20-
# Install Nette Tester
22+
# Install Nette Tester & Code Checker
2123
- composer install --no-interaction --dev --prefer-source
24+
- composer create-project nette/code-checker code-checker ~2.2 --no-interaction --prefer-source

0 commit comments

Comments
 (0)