update composer before starting composer install

This commit is contained in:
Manuel Raynaud
2013-07-29 09:34:46 +02:00
parent 27d6b84c24
commit 973d58105e

View File

@@ -8,7 +8,7 @@ env:
- DB_USER=root
before_script:
- composer self-update
- composer install --prefer-dist --dev
- sh -c "mysql -u$DB_USER -e 'SET FOREIGN_KEY_CHECKS = 0; DROP DATABASE IF EXISTS thelia;SET FOREIGN_KEY_CHECKS = 1;'; fi"
- php Thelia thelia:install --db_host=localhost --db_username=$DB_USER --db_name=thelia
- composer self-update