Skip to content

Commit

Permalink
automatic coding standard checks
Browse files Browse the repository at this point in the history
  • Loading branch information
cash committed Mar 17, 2013
1 parent bfedb2f commit 2ca09e7
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .travis.yml
Expand Up @@ -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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes!

Please sign in to comment.