1
0
mirror of synced 2024-12-05 03:06:05 +03:00

Travis must use --prefer-source because of Github API limitations

This commit is contained in:
Marco Pivetta 2014-02-18 10:28:13 +01:00
parent 0dbd742588
commit 0797feeb0f

View File

@ -20,7 +20,7 @@ before_script:
- sh -c "if [ '$DB' = 'pgsql' ]; then psql -c 'create database doctrine_tests;' -U postgres; fi"
- sh -c "if [ '$DB' = 'pgsql' ]; then psql -c 'create database doctrine_tests_tmp;' -U postgres; fi"
- sh -c "if [ '$DB' = 'mysql' ]; then mysql -e 'create database IF NOT EXISTS doctrine_tests_tmp;create database IF NOT EXISTS doctrine_tests;'; fi"
- composer install --prefer-dist --dev
- composer install --prefer-source --dev
script: phpunit -v --configuration tests/travis/$DB.travis.xml