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

View File

@@ -9,6 +9,9 @@ read test
echo -e "\n\033[01;34m[INFO] Clearing caches\033[00m\n"
php Thelia cache:clear
echo -e "\n\033[01;34m[INFO] Self-updating Composer\033[00m\n"
composer self-update
echo -e "\n\033[01;34m[INFO] Downloading vendors\033[00m\n"
composer install --prefer-dist --optimize-autoloader