[ticket/10736] Changing travis so it installs composer.phar to phpBB/

PHPBB3-10736
This commit is contained in:
Michael Cullum 2012-03-31 09:27:15 +01:00
parent 013a8649a5
commit 3c21a8e21e

View file

@ -13,8 +13,10 @@ before_script:
- sh -c "if [ '$DB' = 'mysql' ]; then mysql -e 'create database IF NOT EXISTS phpbb_tests;'; fi"
- sh -c "if [ '$TRAVIS_PHP_VERSION' = '5.2' ]; then pear install --force phpunit/DbUnit; else pyrus install --force phpunit/DbUnit; fi"
- phpenv rehash
- cd phpBB
- curl -s http://getcomposer.org/installer | php
- php composer.phar install
- cd ../
script:
- phpunit --configuration travis/phpunit-$DB-travis.xml