Commit cd0296ee authored by Alasdair Keyes's avatar Alasdair Keyes

Add in gitlab CI files

parent f04086c6
image: debian:stretch
before_script:
- echo "Before script running"
- ci/system_setup.sh
stages:
- test
test:unit:
stage: test
script:
- prove t/*.t
- for TFILE in t/*.t; do perl -MDevel::Cover $TFILE; done
- cover +ignore_re ^t/.*t$
coverage: /^\s*Lines:\s*\d+.\d+\%/
#!/bin/bash
apt update
# Project deps
apt install perl libemail-valid-perl libnet-ip-perl libdata-validate-domain-perl -y
# Test deps
apt install libtest-exception-perl libtest-exception-perl libdevel-cover-perl make libpod-coverage-perl -y
# test
prove t/*.t
# Test coverage
for TFILE in t/*.t; do perl -MDevel::Cover $TFILE; done
# Get coverage
cover +ignore_re ^t/.*t$
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