ef0778ce66d44295160c420ff19a5788e7244aea
[GitHub/Stricted/Domain-Control-Panel.git] / .travis.yml
1 language: php
2 sudo: false
3 php:
4 - 5.3
5 - 5.4
6 - 5.5
7 - 5.6
8 - 7.0
9 matrix:
10 fast_finish: true
11 allow_failures:
12 - php: 7.0
13 before_install:
14 - pear install pear/PHP_CodeSniffer
15 - phpenv rehash
16 before_script:
17 - git clone --branch=master --depth=1 --quiet git://github.com/WoltLab/WCF.git WCF
18 script:
19 - find . -type f -name '*.php' -not -path "./WCF/*" |xargs -I file php -l file > /dev/null
20 - phpcs -p --extensions=php --standard="`pwd`/WCF/CodeSniff/WCF" --ignore="lib/system/api/" --ignore="WCF/" .