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