From b48959e29767d501df4a14089dd023b7c31348a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Wed, 30 Sep 2015 10:18:15 +0200 Subject: [PATCH] adding gitlab-ci.yml --- .gitlab-ci.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 000000000..351ac55a0 --- /dev/null +++ b/.gitlab-ci.yml @@ -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 \ No newline at end of file