Skip to content
Browse files

automatic coding standard checks

  • Loading branch information...
1 parent bfedb2f commit 2ca09e72c16928c00ffda693588502c6f84e5790 @cash cash committed Mar 16, 2013
Showing with 10 additions and 0 deletions.
  1. +10 −0 .travis.yml
View
10 .travis.yml
@@ -7,3 +7,13 @@ php:
branches:
only:
- master
+
+before_script:
+ - pear install pear/PHP_CodeSniffer
+ - mkdir ../elgg-coding-standards
+ - git clone https://github.com/Elgg/elgg-coding-standards.git ../elgg-coding-standards/
+ - phpenv rehash
+
+script:
+ - phpunit
+ - phpcs --standard=../elgg-coding-standards/elgg.xml --warning-severity=0 --ignore=*/tests/*,*/upgrades/*,*/deprecated* engine/classes engine/lib

1 comment on commit 2ca09e7

@ewinslow
Elgg member

Yes!

Please sign in to comment.
Something went wrong with that request. Please try again.