call reset_install script in travis

This commit is contained in:
Etienne Roudeix
2013-09-27 09:50:28 +02:00
parent 4bdc06e216
commit 0c2a0f8053
2 changed files with 4 additions and 5 deletions

View File

@@ -8,8 +8,4 @@ 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
- php install/faker.php
- echo | ./reset_install.sh