projects
/
GitHub
/
Stricted
/
Domain-Control-Panel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
2853325
)
load phpcs with composer
author
Stricted
<info@stricted.de>
Wed, 23 Dec 2015 20:22:53 +0000
(21:22 +0100)
committer
Stricted
<info@stricted.de>
Wed, 23 Dec 2015 20:22:53 +0000
(21:22 +0100)
.travis.yml
patch
|
blob
|
blame
|
history
diff --git
a/.travis.yml
b/.travis.yml
index ef0778ce66d44295160c420ff19a5788e7244aea..5e542233b04076022a4328fb79f5b130b0d527d9 100644
(file)
--- a/
.travis.yml
+++ b/
.travis.yml
@@
-14,7
+14,10
@@
before_install:
- pear install pear/PHP_CodeSniffer
- phpenv rehash
before_script:
- pear install pear/PHP_CodeSniffer
- phpenv rehash
before_script:
+ - travis_retry composer self-update
+ - travis_retry composer install --no-interaction --prefer-source --dev
+ - travis_retry composer require "squizlabs/php_codesniffer=*"
- 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
- 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
+ -
vendor/bin/
phpcs -p --extensions=php --standard="`pwd`/WCF/CodeSniff/WCF" --ignore="lib/system/api/" --ignore="WCF/" .
\ No newline at end of file