Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


Update travis to check quality of modified files. #803

merged 1 commit into from

2 participants


Had a difficult time getting this script working since it was working fine on my local box, but after quite a few travis pushes, here is the finished result!

You make a pull request and this will check every file you commit against quality.

@nateabele nateabele merged commit 74732aa into from
@blainesch blainesch deleted the branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jan 26, 2013
  1. @blainesch
This page is out of date. Refresh to see the latest.
Showing with 7 additions and 2 deletions.
  1. +7 −2 .travis.yml
9 .travis.yml
@@ -8,9 +8,14 @@ php:
- 5.3
- 5.4
-before_script: php tests/ci_depends.php $OPCODE_CACHE
+ - php tests/ci_depends.php $OPCODE_CACHE
+ - cd ../ && git clone git:// && cd lithium
-script: console/li3 test --filters=Profiler tests/cases
+ - console/li3 test --filters=Profiler tests/cases
+ - cd ../li3_quality
+ - for FILE in $(cd ../lithium/ && git diff-index --name-only --diff-filter=AM HEAD~1); do ../lithium/console/li3 quality syntax ../lithium/${FILE} --silent; done
irc: ""
Something went wrong with that request. Please try again.