From 6584b545ea1e7c6520c8490a7d99334a928c693e Mon Sep 17 00:00:00 2001 From: Gregory Oschwald Date: Fri, 2 May 2014 06:57:11 -0700 Subject: [PATCH] Only run phpcs on 5.5. It is broken on 5.6 and hhvm. --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index e7e86da..ea133d9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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: