diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 697d83bc5..94601773d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -7,16 +7,14 @@ cache: - tests/app/vendor/ before_script: - # Install & enable Xdebug for code coverage reports - # - pecl install xdebug - # - docker-php-ext-enable xdebug + # add extensions to postgres + - PGPASSWORD=$POSTGRES_PASSWORD psql -U $POSTGRES_USER -h db -c "CREATE EXTENSION IF NOT EXISTS unaccent; CREATE EXTENSION IF NOT EXISTS pg_trgm;" # Install and run Composer - curl -sS https://getcomposer.org/installer | php - php composer.phar install - php tests/app/bin/console doctrine:migrations:migrate -n - php tests/app/bin/console doctrine:fixtures:load -n - # Bring in any services we need http://docs.gitlab.com/ee/ci/docker/using_docker_images.html#what-is-a-service # See http://docs.gitlab.com/ee/ci/services/README.html for examples. services: