Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update travis to check quality of modified files. #803

Merged
merged 1 commit into from
Jan 26, 2013
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"