Use PHP 5.4 for running composer

Signed-off-by: Michal Čihař <michal@cihar.com>
This commit is contained in:
Michal Čihař 2016-01-28 14:04:28 +01:00
parent 632380d3d9
commit 10dd46fca4

View File

@ -7,7 +7,9 @@ sudo: false
before_script:
- export PATH=~/.composer/vendor/bin/:$PATH
- mysql -uroot -e "CREATE DATABASE test;"
- composer install --dev --no-interaction ;
- phpenv global 5.4
- composer install --dev --no-interaction
- phpenv global $TRAVIS_PHP_VERSION
- ./scripts/generate-mo --quiet
script:
- ./vendor/bin/phpunit --configuration phpunit.xml.nocoverage