Only run phpcs on 5.5. It is broken on 5.6 and hhvm.
This commit is contained in:
parent
ac6592b7a5
commit
6584b545ea
|
@ -10,12 +10,12 @@ php:
|
|||
before_install:
|
||||
- composer self-update
|
||||
- composer install --dev -n --prefer-source
|
||||
- if [ "hhvm" != "$(phpenv version-name)" ]; then pyrus install pear/PHP_CodeSniffer; fi
|
||||
- if [ "5.5" == $TRAVIS_PHP_VERSION ]; then pyrus install pear/PHP_CodeSniffer; fi
|
||||
- phpenv rehash
|
||||
|
||||
script:
|
||||
- mkdir -p build/logs
|
||||
- if [ "hhvm" != "$(phpenv version-name)" ]; then phpcs --standard=PSR2 src/; fi
|
||||
- if [ "5.5" == $TRAVIS_PHP_VERSION ]; then phpcs --standard=PSR2 src/; fi
|
||||
- phpunit -c phpunit.xml.dist
|
||||
|
||||
after_script:
|
||||
|
|
Loading…
Reference in New Issue
Block a user