Allow the PHPCS to fail.

This commit is contained in:
mark_story 2014-05-23 14:00:29 -04:00
parent db86b0c050
commit ec3222ca64

View file

@ -16,11 +16,16 @@ services:
- memcached - memcached
matrix: matrix:
allow_failures:
- php: 5.4
env:
- PHPCS=1
include: include:
- php: 5.4 - php: 5.4
env: env:
- PHPCS=1 - PHPCS=1
before_script: before_script:
- sh -c "if [ '$TRAVIS_PHP_VERSION' != '5.2' ]; then composer global require 'phpunit/phpunit=3.7.33'; fi" - sh -c "if [ '$TRAVIS_PHP_VERSION' != '5.2' ]; then composer global require 'phpunit/phpunit=3.7.33'; fi"
- sh -c "if [ '$TRAVIS_PHP_VERSION' != '5.2' ]; then ln -s ~/.composer/vendor/phpunit/phpunit/PHPUnit ./vendors/PHPUnit; fi" - sh -c "if [ '$TRAVIS_PHP_VERSION' != '5.2' ]; then ln -s ~/.composer/vendor/phpunit/phpunit/PHPUnit ./vendors/PHPUnit; fi"