projects
/
GitHub
/
Stricted
/
speedport-hybrid-php-api.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix travis build
[GitHub/Stricted/speedport-hybrid-php-api.git]
/
.travis.yml
diff --git
a/.travis.yml
b/.travis.yml
index fb0410ebb9e01c9410934c76fb4c01ab49740837..c54f643886e1bd61dff64a19c858ad3099860dcd 100644
(file)
--- a/
.travis.yml
+++ b/
.travis.yml
@@
-1,16
+1,18
@@
language: php
language: php
+sudo: false
php:
php:
+ - 5.3
- 5.4
- 5.5
- 5.6
- 5.4
- 5.5
- 5.6
- - nightly
-allow_failures:
- - php: nightly
-before_install:
- - pear install pear/PHP_CodeSniffer
- - phpenv rehash
+ - 7.0
+ - hhvm
before_script:
before_script:
+ - if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then phpenv config-rm xdebug.ini; fi
+ - travis_retry composer self-update
+ - travis_retry composer require "squizlabs/php_codesniffer=*"
+ - travis_retry composer install --no-interaction --prefer-source
- git clone --branch=master --depth=1 --quiet git://github.com/WoltLab/WCF.git WCF
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="CryptLib/" --ignore="WCF
/" .
\ No newline at end of file
+ - find . -type f -name '*.php' -not -path "./WCF/*"
-not -path "./vendor/*"
|xargs -I file php -l file > /dev/null
+ -
vendor/bin/phpcs -p --extensions=php --standard="`pwd`/WCF/CodeSniff/WCF" --ignore="lib/system/api/" --ignore="WCF/" --ignore="vendor
/" .
\ No newline at end of file