add doctrine migration to CI

refs #402
move webapp directory to App/app, for being consistent with person bundle
This commit is contained in:
2015-01-30 15:57:24 +01:00
parent 31f76d1339
commit 962dba1bc5
14 changed files with 44 additions and 33 deletions

View File

@@ -2,7 +2,6 @@
use Symfony\Component\HttpKernel\Kernel;
use Symfony\Component\Config\Loader\LoaderInterface;
use Doctrine\Bundle\FixturesBundle\DoctrineFixturesBundle;
class AppKernel extends Kernel
{
@@ -18,7 +17,8 @@ class AppKernel extends Kernel
new Chill\PersonBundle\ChillPersonBundle(),
new \Symfony\Bundle\AsseticBundle\AsseticBundle(),
new Symfony\Bundle\SecurityBundle\SecurityBundle(),
new Doctrine\Bundle\FixturesBundle\DoctrineFixturesBundle()
new Doctrine\Bundle\FixturesBundle\DoctrineFixturesBundle(),
new Doctrine\Bundle\MigrationsBundle\DoctrineMigrationsBundle()
);
}

View File

@@ -0,0 +1,2 @@
*
!.gitignore

View File

@@ -7,7 +7,7 @@
set_time_limit(0);
require_once __DIR__.'/../../bootstrap.php';
require_once __DIR__.'/../../../bootstrap.php';
require_once __DIR__.'/AppKernel.php';
use Symfony\Bundle\FrameworkBundle\Console\Application;

View File

@@ -1,7 +0,0 @@
parameters:
database_host: 127.0.0.1
database_port: 5435
database_name: chill
database_user: chill
database_password: chill
locale: fr

2
Tests/Fixtures/App/web/.gitignore vendored Normal file
View File

@@ -0,0 +1,2 @@
*
!.gitignore