Skip to content
Snippets Groups Projects
Commit 0d63c2f4 authored by BERNARD Hugo's avatar BERNARD Hugo
Browse files

Update .gitlab-ci.yml file

parent 18cce9a5
No related branches found
No related tags found
No related merge requests found
Pipeline #6655 failed
...@@ -25,11 +25,22 @@ build:php: ...@@ -25,11 +25,22 @@ build:php:
- curl -sS https://getcomposer.org/installer | php - curl -sS https://getcomposer.org/installer | php
- php composer.phar install - php composer.phar install
# 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:
- mysql:5.7
# Set any variables we need
variables:
# Configure mysql environment variables (https://hub.docker.com/r/_/mysql/)
MYSQL_DATABASE: lehangarlocal
# Run our tests # Run our tests
# If Xdebug was installed you can generate a coverage report and see code coverage metrics. # If Xdebug was installed you can generate a coverage report and see code coverage metrics.
script: script:
./vendor/bin/phplint - ./vendor/bin/phplint
./vendor/bin/doctrine orm:validate-schema - ./vendor/bin/doctrine orm:validate-schema
build:node: build:node:
image: node:latest image: node:latest
...@@ -44,5 +55,5 @@ build:node: ...@@ -44,5 +55,5 @@ build:node:
- npm ci - npm ci
script: script:
npx stylelint "**/*.css" - npx stylelint "**/*.css"
npx stylelint "**/*.scss" - npx stylelint "**/*.scss"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment