Commit 4950dbe0 authored by Nigel Kukard's avatar Nigel Kukard
Browse files

Updated CI recipe

parent fdbe1dff
stages:
- quality
- tests
- install
code:
code-quality:
stage: quality
script:
- export DEBIAN_FRONTEND=noninteractive
......@@ -11,7 +12,7 @@ code:
- apt-get install -y libperl-critic-perl make
- perlcritic --gentle "$CI_PROJECT_DIR"
tests:
make-test:
stage: tests
script:
- export DEBIAN_FRONTEND=noninteractive
......@@ -24,3 +25,16 @@ tests:
- perl Makefile.PL
- make test
make-install:
stage: install
script:
- export DEBIAN_FRONTEND=noninteractive
- apt-get update
- apt-get dist-upgrade -y
- apt-get install -y git make
- apt-get install -y mysql-server
- cd "$CI_PROJECT_DIR"
- ./update-git-modules
- perl Makefile.PL
- make install
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