mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-13 13:54:23 +00:00
adding gitlab-ci.yml
This commit is contained in:
parent
5f89de46cf
commit
b48959e297
15
.gitlab-ci.yml
Normal file
15
.gitlab-ci.yml
Normal file
@ -0,0 +1,15 @@
|
||||
services:
|
||||
- postgresql
|
||||
|
||||
|
||||
before_script:
|
||||
- composer install --dev
|
||||
- cp Tests/Fixtures/App/config/parameters.travis.yml Tests/Fixtures/App/config/parameters.yml
|
||||
- psql -c 'create database test0;' -U postgres
|
||||
- php Tests/Fixtures/App/console --env=test cache:warmup
|
||||
- php Tests/Fixtures/App/console doctrine:migrations:migrate --env=test --no-interaction
|
||||
- php Tests/Fixtures/App/console doctrine:fixtures:load --env=test --no-interaction
|
||||
|
||||
job1:
|
||||
stage: test
|
||||
script: phpunit --coverage-text
|
Loading…
x
Reference in New Issue
Block a user