Skip to content

Commit

Permalink
.travis: added code checker
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Aug 17, 2014
1 parent f58f144 commit b7cb820
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,15 @@ matrix:
allow_failures:
- 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 -d src

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

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

0 comments on commit b7cb820

Please sign in to comment.