Skip to content
Snippets Groups Projects
Commit b9124ea3 authored by Donovan Bourlard's avatar Donovan Bourlard
Browse files

TMP

parent 93cd2dc9
No related branches found
No related tags found
No related merge requests found
...@@ -2,15 +2,16 @@ variables: ...@@ -2,15 +2,16 @@ variables:
DOCKER_DRIVER: overlay2 DOCKER_DRIVER: overlay2
DOCKER_IMAGE_PHP: gitlab.adullact.net:4567/soluris/madis/php:1.0 DOCKER_IMAGE_PHP: gitlab.adullact.net:4567/soluris/madis/php:1.0
DOCKER_IMAGE_NGINX: gitlab.adullact.net:4567/soluris/madis/nginx:1.0 DOCKER_IMAGE_NGINX: gitlab.adullact.net:4567/soluris/madis/nginx:1.0
DOCKER_TLS_CERTDIR: ""
stages: stages:
- cache # - cache
- tests - tests
- quality-assurance - quality-assurance
- quality-assurance-report - quality-assurance-report
.job-base-template: &job-base-defintion .job-base-template: &job-base-defintion
image: mykiwi/docker image: docker
services: services:
- docker:dind - docker:dind
...@@ -27,24 +28,25 @@ stages: ...@@ -27,24 +28,25 @@ stages:
- vendor - vendor
policy: pull policy: pull
create_cache: #create_cache:
image: ${DOCKER_IMAGE_PHP} # image: ${DOCKER_IMAGE_PHP}
script: # script:
- composer install --prefer-dist --no-interaction --optimize-autoloader --no-scripts # - composer install --prefer-dist --no-interaction --optimize-autoloader --no-scripts
cache: # cache:
key: "$CI_PROJECT_PATH-php" # key: "$CI_PROJECT_PATH-php"
paths: # paths:
- vendor # - vendor
stage: cache # stage: cache
except: # except:
- master # - master
unit_tests: unit_tests:
<<: *job-base-defintion <<: *job-base-defintion
<<: *vendor-install-defintion <<: *vendor-install-defintion
<<: *cache-pull-defintion <<: *cache-pull-defintion
script: script:
- make tu-report - docker run hello-world
# - make tu-report
coverage: '/^\s*Lines:\s*\d+.\d+\%/' coverage: '/^\s*Lines:\s*\d+.\d+\%/'
artifacts: artifacts:
paths: paths:
......
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