mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 22:53:49 +00:00
add doctrine migration to CI
refs #402 move webapp directory to App/app, for being consistent with person bundle
This commit is contained in:
@@ -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()
|
||||
);
|
||||
}
|
||||
|
2
Tests/Fixtures/App/app/DoctrineMigrations/.gitignore
vendored
Normal file
2
Tests/Fixtures/App/app/DoctrineMigrations/.gitignore
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
*
|
||||
!.gitignore
|
@@ -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;
|
@@ -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
2
Tests/Fixtures/App/web/.gitignore
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
*
|
||||
!.gitignore
|
Reference in New Issue
Block a user