Force CodeSniffer 2.9.0
authorTim Düsterhus <duesterhus@woltlab.com>
Sun, 7 May 2017 14:27:30 +0000 (16:27 +0200)
committerTim Düsterhus <duesterhus@woltlab.com>
Sun, 7 May 2017 14:27:30 +0000 (16:27 +0200)
.travis.yml

index aa9018536dca8718d09cca5290026c44c0f61975..4d3ff32193fe65b4947a5e3718d46c80161946de 100644 (file)
@@ -1,12 +1,12 @@
 language: php
 php:
-  - 5.4
+  - 5.6
   - 5.3
 before_install:
-  - pear install pear/PHP_CodeSniffer
+  - pyrus install pear/PHP_CodeSniffer-2.9.0
   - phpenv rehash
 before_script:
-  - git clone --branch=master --depth=1 --quiet git://github.com/WoltLab/WCF.git WCF
+  - git clone --branch=2.1 --depth=1 --quiet git://github.com/WoltLab/WCF.git WCF
 script:
   - find files -type f -name '*.php' |xargs -I file php -l file
-  - phpcs -p --extensions=php --standard="`pwd`/WCF/CodeSniff/WCF" files
\ No newline at end of file
+  - phpcs -p --extensions=php --standard="`pwd`/WCF/CodeSniff/WCF" files