Skip to content

Commit

Permalink
Update .gitlab-ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
voegelas committed Jan 15, 2023
1 parent 5ef73ef commit e51f642
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,18 @@
---
image: voegelas/perl-devel-cover

before_script:
- cpanm --quiet --notest --installdeps .

test_job:
test:
stage: test
rules:
- if: $CI_COMMIT_TAG
when: never
- when: always
script:
- cpanm --quiet --notest --installdeps .
- perl Makefile.PL
- cover -test

include:
- remote: 'https://mirror.andreasvoegele.com/gitlab/build-packages.yaml'
rules:
- if: $BUILD_PACKAGES == "true"

0 comments on commit e51f642

Please sign in to comment.