From a25bbdeae521f2d15e259dfe371a13bb6518c262 Mon Sep 17 00:00:00 2001 From: Stricted Date: Wed, 23 Dec 2015 20:38:05 +0100 Subject: [PATCH] again... --- .travis.yml | 35 ++++++++++++++++++++--------------- 1 file changed, 20 insertions(+), 15 deletions(-) diff --git a/.travis.yml b/.travis.yml index 5bd8f31..336093a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,16 +1,21 @@ -language: php -sudo: false -php: - - 5.3 - - 5.4 - - 5.5 - - 5.6 - - 7.0 -before_install: - - pyrus 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 +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 -- 2.20.1