Test travis without this fu... composer

This commit is contained in:
Laurent Destailleur 2016-05-18 16:53:17 +02:00
parent cf8c180fa4
commit 38d0d85233

View File

@ -94,9 +94,9 @@ install:
- |
echo "Installing PHP Unit"
if [ "$TRAVIS_PHP_VERSION" = '5.3' ] || [ "$TRAVIS_PHP_VERSION" = '5.4' ] || [ "$TRAVIS_PHP_VERSION" = '5.5' ]; then
composer -n require phpunit/phpunit ^4
fi
#if [ "$TRAVIS_PHP_VERSION" = '5.3' ] || [ "$TRAVIS_PHP_VERSION" = '5.4' ] || [ "$TRAVIS_PHP_VERSION" = '5.5' ]; then
# composer -n require phpunit/phpunit ^4
#fi
if [ "$TRAVIS_PHP_VERSION" = '5.6' ] || [ "$TRAVIS_PHP_VERSION" = '7.0' ] || [ "$TRAVIS_PHP_VERSION" = 'nightly' ]; then
composer -n require phpunit/phpunit ^5
fi
@ -104,9 +104,9 @@ install:
- |
echo "Installing PHP CodeSniffer"
if [ "$TRAVIS_PHP_VERSION" = '5.6' ]; then
composer -n require squizlabs/php_codesniffer ^2
fi
#if [ "$TRAVIS_PHP_VERSION" = '5.6' ]; then
# composer -n require squizlabs/php_codesniffer ^2
#fi
echo
- |