From 6c017e0c485effa042338c49674fc01798c13838 Mon Sep 17 00:00:00 2001 From: Benoit Mortier <benoit.mortier@opensides.be> Date: Wed, 2 May 2018 22:52:51 +0200 Subject: [PATCH] :ambulance: fix(gitlab-ci) Use precompiled images for transifex stage base on php-cli stretch Changed create_php_code_sniffer_rapport Signed-off-by: Benoit Mortier <benoit.mortier@opensides.be> --- .gitlab-ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1b5543c74..eca9429ab 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -76,12 +76,13 @@ create_perlcritic_rapport: # PHP codesniffer create_php_code_sniffer_rapport: + image: php:cli-stretch stage: codestyle only: - branches before_script: - apt-get update -qq - - apt-get install -y -qq git php-cli php-codesniffer + - apt-get install -y -qq git php-codesniffer script: - git clone https://gitlab.fusiondirectory.org/fusiondirectory/dev-tools.git ../dev-tools - find . -type f -name '*.php' -o -name '*.inc' > ./filelist -- GitLab