Commit 4c9d3b79 authored by Jonathan Swaelens's avatar Jonathan Swaelens
Browse files

:sparkles: feat(gitlab-ci): Add stage for php lint in jessie and stretch


Add stage for php lint in jessie and stretch

Signed-off-by: default avatarJonathan Swaelens <swaelens.jonathan@opensides.be>
Showing with 15 additions and 5 deletions
+15 -5
...@@ -7,6 +7,8 @@ variables: ...@@ -7,6 +7,8 @@ variables:
stages: stages:
- test-perl - test-perl
- test-php-jessie
- test-php-stretch
- test-php - test-php
- test-manpages - test-manpages
- transifex - transifex
...@@ -69,15 +71,23 @@ create_php_code_sniffer_rapport: ...@@ -69,15 +71,23 @@ create_php_code_sniffer_rapport:
- find . -type f -name '*.php' -o -name '*.inc' > ./filelist - find . -type f -name '*.php' -o -name '*.inc' > ./filelist
- phpcs --standard=../dev-tools/php-codesniffer-rules/FDStandard/ruleset.xml --file-list=./filelist - phpcs --standard=../dev-tools/php-codesniffer-rules/FDStandard/ruleset.xml --file-list=./filelist
# PHP lint # PHP lint (jessie)
create_php_lint_rapport: create_php_lint_rapport:
stage: test-php image: 5.6.33-cli-jessie
stage: test-php-jessie
only:
- branches
- tags
script:
- find . -type f -name '*.php' -o -name '*.inc' -print0 | xargs -0 -n1 php -l
# PHP lint (stretch)
create_php_lint_rapport:
image: 5.6.33-cli-stretch
stage: test-php-stretch
only: only:
- branches - branches
- tags - tags
before_script:
- apt-get update -qq
- apt-get install -y -qq php-cli
script: script:
- find . -type f -name '*.php' -o -name '*.inc' -print0 | xargs -0 -n1 php -l - find . -type f -name '*.php' -o -name '*.inc' -print0 | xargs -0 -n1 php -l
......
  • bmortier @bmortier

    mentioned in commit bf67da90

    By manager on 2018-02-28T21:58:02 (imported from GitLab)

    ·

    mentioned in commit bf67da90

    By manager on 2018-02-28T21:58:02 (imported from GitLab)

    Toggle commit list
  • bmortier @bmortier

    mentioned in merge request !151

    By bmortier on 2018-02-28T21:58:11 (imported from GitLab)

    ·

    mentioned in merge request !151

    By bmortier on 2018-02-28T21:58:11 (imported from GitLab)

    Toggle commit list
  • bmortier @bmortier

    mentioned in commit a2b05152

    By manager on 2018-04-05T20:01:54 (imported from GitLab)

    ·

    mentioned in commit a2b05152

    By manager on 2018-04-05T20:01:54 (imported from GitLab)

    Toggle commit list
  • bmortier @bmortier

    mentioned in merge request !212

    By bmortier on 2018-04-05T20:01:54 (imported from GitLab)

    ·

    mentioned in merge request !212

    By bmortier on 2018-04-05T20:01:54 (imported from GitLab)

    Toggle commit list
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