Skip to content

Update travis to check quality of modified files. #803

Merged
merged 1 commit into from Jan 26, 2013
+7 −2
View
9 .travis.yml
@@ -8,9 +8,14 @@ php:
- 5.3
- 5.4
-before_script: php tests/ci_depends.php $OPCODE_CACHE
+before_script:
+ - php tests/ci_depends.php $OPCODE_CACHE
+ - cd ../ && git clone git://github.com/UnionOfRAD/li3_quality.git && cd lithium
-script: console/li3 test --filters=Profiler tests/cases
+script:
+ - 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
notifications:
irc: "irc.freenode.org#li3-core"
Something went wrong with that request. Please try again.