-language: php\r
-sudo: false\r
-php:\r
- - 5.3\r
- - 5.4\r
- - 5.5\r
- - 5.6\r
- - 7.0\r
-before_install:\r
- - pyrus install pear/PHP_CodeSniffer\r
- - phpenv rehash\r
-before_script:\r
- - git clone --branch=master --depth=1 --quiet git://github.com/WoltLab/WCF.git WCF\r
-script:\r
- - find . -type f -name '*.php' -not -path "./WCF/*" |xargs -I file php -l file > /dev/null\r
+language: php
+sudo: false
+php:
+ - 5.3
+ - 5.4
+ - 5.5
+ - 5.6
+ - 7.0
+ - hhvm
+matrix:
+ allow_failures:
+ - php: 7.0
+ - php: hhvm
+before_install:
+ - pear install pear/PHP_CodeSniffer
+ - phpenv rehash
+before_script:
+ - git clone --branch=master --depth=1 --quiet git://github.com/WoltLab/WCF.git WCF
+script:
+ - find . -type f -name '*.php' -not -path "./WCF/*" |xargs -I file php -l file > /dev/null
- phpcs -p --extensions=php --standard="`pwd`/WCF/CodeSniff/WCF" --ignore="lib/system/api/" --ignore="WCF/" .
\ No newline at end of file