mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
parent
5bd4e9ff1a
commit
d6822520d2
@ -14,7 +14,7 @@ addons:
|
||||
postgresql: "9.3"
|
||||
|
||||
install:
|
||||
- composer install --dev
|
||||
- composer install --dev --no-interaction
|
||||
- cp Tests/Fixtures/App/app/config/parameters.travis.yml Tests/Fixtures/App/app/config/parameters.yml
|
||||
|
||||
before_script:
|
||||
@ -22,7 +22,7 @@ before_script:
|
||||
- psql -d test0 -c 'CREATE EXTENSION unaccent;' -U postgres
|
||||
- php Tests/Fixtures/App/app/console.php --env=test cache:warmup
|
||||
- php Tests/Fixtures/App/app/console.php assets:install Tests/Fixtures/App/web
|
||||
- php Tests/Fixtures/App/app/console.php doctrine:schema:create --env=test --no-interaction
|
||||
- php Tests/Fixtures/App/app/console.php doctrine:migrations:migrate --no-interaction
|
||||
- php Tests/Fixtures/App/app/console.php doctrine:fixtures:load --env=test --no-interaction
|
||||
|
||||
script: phpunit --coverage-text
|
||||
|
@ -16,7 +16,8 @@ class AppKernel extends Kernel
|
||||
new Doctrine\Bundle\DoctrineBundle\DoctrineBundle(),
|
||||
new Chill\PersonBundle\ChillPersonBundle(),
|
||||
new Chill\MainBundle\ChillMainBundle(),
|
||||
new \Doctrine\Bundle\FixturesBundle\DoctrineFixturesBundle,
|
||||
new \Doctrine\Bundle\FixturesBundle\DoctrineFixturesBundle(),
|
||||
new Doctrine\Bundle\MigrationsBundle\DoctrineMigrationsBundle()
|
||||
#add here all the required bundle (some bundle are not required)
|
||||
);
|
||||
}
|
||||
|
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
|
@ -30,7 +30,9 @@
|
||||
"chill-project/main": "*@dev",
|
||||
"chill-project/custom-fields": "*@dev",
|
||||
"doctrine/doctrine-fixtures-bundle": "~2.2",
|
||||
"champs-libres/composer-bundle-migration": "~1.0"
|
||||
"champs-libres/composer-bundle-migration": "~1.0",
|
||||
"doctrine/doctrine-migrations-bundle": "dev-master@dev",
|
||||
"doctrine/migrations": "~1.0@dev"
|
||||
},
|
||||
"require-dev": {
|
||||
"symfony/dom-crawler": "2.5",
|
||||
|
Loading…
x
Reference in New Issue
Block a user