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

self-update composer before install

Updating composer before install seems like a good idea. At the moment for example the travis build is failing because of the new composer syntax with '^' and it would be fixed by composer self-update.
This commit is contained in:
Spinei Dionis 2015-01-20 03:31:42 +02:00
parent 2418f8f5e6
commit 2528d0b3fc

View File

@ -19,6 +19,7 @@ before_script:
- if [ $DB = 'pgsql' ]; then psql -c 'create database doctrine_tests;' -U postgres; fi
- if [ $DB = 'pgsql' ]; then psql -c 'create database doctrine_tests_tmp;' -U postgres; fi
- if [ $DB = 'mysql' ]; then mysql -e 'create database IF NOT EXISTS doctrine_tests_tmp;create database IF NOT EXISTS doctrine_tests;'; fi
- composer self-update
- composer install --prefer-source --dev
script: