Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Update travis to check quality of modified files. #803

Merged
merged 1 commit into from

2 participants

@blainesch
Collaborator

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
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.