language: php sudo: false cache: directories: - $HOME/.composer/cache/files php: - 5.3 - 5.4 - 5.5 - 5.6 - hhvm matrix: include: - php: 5.5 env: SYMFONY_VERSION='2.3.*' # Test against dev dependencies - php: 5.6 env: DEPS=dev before_install: - composer self-update - if [ "$SYMFONY_VERSION" != "" ]; then composer require --no-update symfony/symfony=$SYMFONY_VERSION; fi; - if [ "$DEPS" = 'dev' ]; then perl -pi -e 's/^}$/,"minimum-stability":"dev"}/' composer.json; fi; install: - composer install --no-progress before_script: - export PATH=./vendor/bin:$PATH - export PATH=./vendor/bin:$PATH script: - phpspec run -f pretty - behat -fprogress --strict