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