Skip to content
Snippets Groups Projects
Commit e7b412ff authored by Recolic Keghart's avatar Recolic Keghart
Browse files

Update .gitlab-ci.yml

parent c818d691
No related branches found
No related tags found
No related merge requests found
Pipeline #18 passed with stages
in 23 minutes and 44 seconds
......@@ -3,6 +3,7 @@ image: maven:3-jdk-8
stages:
- build
- test
- analyse
build-jdk11:
image: maven:3-jdk-11
......@@ -34,3 +35,22 @@ test-positive-whole:
- diff /tmp/out.o src/test/data/pa2/sample/ast_coverage.py.ast.typed || echo 'Ignoring failed test...'
allow_failure: true
code_quality:
image: docker:stable
stage: analyse
variables:
DOCKER_DRIVER: overlay2
allow_failure: true
services:
- docker:stable-dind
script:
- export SP_VERSION=$(echo "$CI_SERVER_VERSION" | sed 's/^\([0-9]*\)\.\([0-9]*\).*/\1-\2-stable/')
- docker run
--env SOURCE_CODE="$PWD"
--volume "$PWD":/code
--volume /var/run/docker.sock:/var/run/docker.sock
"registry.gitlab.com/gitlab-org/security-products/codequality:$SP_VERSION" /code
artifacts:
reports:
codequality: gl-code-quality-report.json
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment