complete install command and fix travis file

This commit is contained in:
Manuel Raynaud
2013-07-09 10:52:37 +02:00
parent 66d2451def
commit 9db64bbe78
3 changed files with 42 additions and 3 deletions

View File

@@ -4,5 +4,10 @@ php:
- "5.4"
- "5.5"
env:
- DB_USER=root
before_script:
- composer install
- 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