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