diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d9e1c3499baaeeebee25ea1df3a32290830e8260..819af5b748d40d9a246ec361b896078260dd7d9c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -78,7 +78,7 @@ create_perlcritic_rapport: create_php_code_sniffer_rapport_13: stage: codestyle only: - - 1.3-dev + - branch before_script: - apt-get update -qq - apt-get install -y -qq git php-cli php-codesniffer @@ -87,19 +87,6 @@ create_php_code_sniffer_rapport_13: - find . -type f -name '*.php' -o -name '*.inc' > ./filelist - phpcs --standard=../dev-tools/php-codesniffer-rules/FDStandard/ruleset.xml --file-list=./filelist -# PHP codesniffer -create_php_code_sniffer_rapport: - stage: codestyle - only: - - 1.4-dev - before_script: - - apt-get update -qq - - apt-get install -y -qq git php-cli php-codesniffer - script: - - git clone https://gitlab.fusiondirectory.org/fusiondirectory/dev-tools.git ../dev-tools - - find . -type f -name '*.php' -o -name '*.inc' > ./filelist - - phpcs --standard=../dev-tools/php-codesniffer-rules/FDStandard/ruleset.xml --file-list=./filelist - # Sonar publishing sonar_publish: image: sonar-cli:3.1.0.1141