Commit dba78274 authored by Benoit Mortier's avatar Benoit Mortier
Browse files

:ambulance: fix(gitlab-ci) use the 1.3 branch of the sniffer rules for 1.3


Remove test for 1.4 as each branch as a gitlab-ci :/
Put job back only: branch

Signed-off-by: default avatarBenoit Mortier <benoit.mortier@opensides.be>
Showing with 1 addition and 14 deletions
+1 -14
......@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment