Update test environment

This commit is contained in:
Romain Neutron
2012-10-02 14:13:26 +02:00
parent e2ef2a9aa5
commit 9c12e24656
2 changed files with 6 additions and 2 deletions

View File

@@ -4,7 +4,9 @@ services:
- mysql
before_script:
- cp hudson/*.yml config/
- rm -f config/services.yml config/connexions.yml config/config.yml config/config.inc config/connexion.inc config/_GV.php config/_GV.php.old
- cp -f hudson/connexion.inc config/
- cp -f hudson/_GV.php config/
- curl -s http://getcomposer.org/installer | php
- php composer.phar install --dev
- sudo apt-get update

View File

@@ -1,4 +1,6 @@
cp -f hudson/*.yml config/
rm -f config/services.yml config/connexions.yml config/config.yml config/config.inc config/connexion.inc config/_GV.php config/_GV.php.old
cp -f hudson/connexion.inc config/
cp -f hudson/_GV.php config/
curl -s http://getcomposer.org/installer | php
php composer.phar install --dev
sudo mysql -e 'drop database ab_test;drop database db_test; drop database ab_unitTests; drop database db_unitTests;'