Commit | Line | Data |
---|---|---|
7f4a51d2 S |
1 | language: php |
2 | php: | |
7f4a51d2 S |
3 | - 5.4 |
4 | - 5.5 | |
5 | - 5.6 | |
6 | - nightly | |
7 | allow_failures: | |
8 | - php: nightly | |
9 | before_install: | |
10 | - pear install pear/PHP_CodeSniffer | |
11 | - phpenv rehash | |
12 | before_script: | |
13 | - git clone --branch=master --depth=1 --quiet git://github.com/WoltLab/WCF.git WCF | |
14 | script: | |
15 | - find . -type f -name '*.php' -not -path "./WCF/*" |xargs -I file php -l file > /dev/null | |
16 | - phpcs -p --extensions=php --standard="`pwd`/WCF/CodeSniff/WCF" --ignore="CryptLib/" --ignore="WCF/" . |