mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-12 20:43:25 +00:00
Update test environment
This commit is contained in:
@@ -4,7 +4,9 @@ services:
|
|||||||
- mysql
|
- mysql
|
||||||
|
|
||||||
before_script:
|
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
|
- curl -s http://getcomposer.org/installer | php
|
||||||
- php composer.phar install --dev
|
- php composer.phar install --dev
|
||||||
- sudo apt-get update
|
- sudo apt-get update
|
||||||
|
@@ -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
|
curl -s http://getcomposer.org/installer | php
|
||||||
php composer.phar install --dev
|
php composer.phar install --dev
|
||||||
sudo mysql -e 'drop database ab_test;drop database db_test; drop database ab_unitTests; drop database db_unitTests;'
|
sudo mysql -e 'drop database ab_test;drop database db_test; drop database ab_unitTests; drop database db_unitTests;'
|
||||||
|
Reference in New Issue
Block a user