Commit 6071c228 authored by Alexandre's avatar Alexandre
Browse files

Add Gitlab CI

parent b6f28a9c
Pipeline #5 failed with stage
in 34 seconds
image: debian:bullseye
- test
- apt-get update && apt-get install --yes autoconf automake build-essential cpanminus libclone-perl libfile-sharedir-perl libfile-slurp-perl libidn11-dev libintl-perl libio-socket-inet6-perl libjson-pp-perl liblist-moreutils-perl liblocale-msgfmt-perl libmail-rfc822-address-perl libmodule-find-perl libnet-ip-perl libpod-coverage-perl libreadonly-perl libreadonly-xs-perl libssl-dev libtest-differences-perl libtest-exception-perl libtest-fatal-perl libtest-pod-perl libtext-csv-perl libtool m4 libclass-method-modifiers-perl libconfig-inifiles-perl libdbd-sqlite3-perl libdbi-perl libfile-sharedir-perl libfile-slurp-perl libhtml-parser-perl libio-captureoutput-perl libio-stringy-perl libjson-pp-perl libjson-rpc-perl liblog-any-adapter-dispatch-perl liblog-any-perl liblog-dispatch-perl libplack-perl libplack-middleware-debug-perl librole-tiny-perl librouter-simple-perl libstring-shellquote-perl libtest-nowarnings-perl libtry-tiny-perl starman
# Help Perl find modules installed from OS packages
- export PERL5LIB=/usr/share/perl5
# Zonemaster LDNS needs a newer version of Module::Install
- cpan-install Module::Install Module::Install::XSUtil
# Zonemaster Backend transitively needs a newer version of Devel::CheckLib
- cpan-install Devel::CheckLib
# Moose installed from OS packages depend on a newer version of Devel::OverloadInfo
- cpan-install Devel::OverloadInfo Moose
# IO::Socket::INET6 can't find Socket6 unless it's installed from CPAN
- cpan-install Socket6
# Install Zonemaster LDNS
- git clone --depth=1 --branch=develop
- ( cd zonemaster-ldns && cpanm --verbose --notest . ) && rm -rf zonemaster-ldns
# Install Zonemaster Engine
- git clone --depth=1 --branch=develop
- ( cd zonemaster-engine && cpanm --verbose --notest . ) && rm -rf zonemaster-engine
- perl Makefile.PL && make test
Markdown is supported
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