Skip to content
Snippets Groups Projects
Commit 6a253abf authored by bmortier's avatar bmortier
Browse files

Update .gitlab-ci.yml

Add ou own docker images
Standardize with fusiondirectory ci
parent edf4ecff
No related branches found
No related tags found
No related merge requests found
# Specify docker image
image: debian:stretch
stages:
- lint
- codestyle
# Generate perlcritic rapport
create_perlcritic_rapport:
# Perl lint
create_perl_lint_rapport:
image: registry.fusiondirectory.org/fusiondirectory/fd/perlcodestyle:stretch
stage: lint
only:
- branches
- tags
before_script:
- apt-get update -qq
- apt-get install -y -qq libperl-critic-perl
script:
- perlcritic .
- perl -cW bin/ldap-schema-manager
- perl -cW bin/schema2ldif
# Perl lint
create_perl_lint_rapport:
# Generate perlcritic rapport
create_perlcritic_rapport:
image: registry.fusiondirectory.org/fusiondirectory/fd/perlcodestyle:stretch
stage: codestyle
only:
- branches
- tags
before_script:
- apt-get update -qq
- apt-get install -y -qq perl
script:
- find bin/ -type f -print0 | xargs -0 -n1 perl -cw
- cp bin/ldap-schema-manager bin/ldap-schema-manager.pl
- cp bin/schema2ldif bin/bin/schema2ldif.pl
- perlcritic --quiet --verbose "%f~|~%s~|~%l~|~%c~|~%m~|~%e~|~%p~||~%n" bin
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