adding gitlab-ci.yml

This commit is contained in:
Julien Fastré 2015-09-30 10:18:15 +02:00
parent 5f89de46cf
commit b48959e297

15
.gitlab-ci.yml Normal file
View 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