kind: pipeline
name: default
steps:
- name: Critic
depends_on:
- clone
image: gugod/perlcritic-reviewdog:latest
commands:
- perlcritic --quiet lib t script
- name: Test
image: perl:5.28.0
commands:
- cpanm -q --notest --no-man-pages --installdeps .
- cpanm -q --notest --no-man-pages Test2::Harness
- yath --qvf
- name: Build
image: perl:5.28.0
depends_on:
- Critic
- Test
commands:
- cpanm -q --notest --no-man-pages App::ModuleBuildTiny
- git clean -xdf
- mbtiny dist
- ls -l
- name: Install (perl 5.30)
image: perl:5.30
depends_on:
- Build
commands:
- echo *.tar.gz
- cpanm -q *.tar.gz
- name: Install (perl 5.28)
image: perl:5.28
depends_on:
- Build
commands:
- echo *.tar.gz
- cpanm -q *.tar.gz
- name: Install (perl 5.26)
image: perl:5.26
depends_on:
- Build
commands:
- echo *.tar.gz
- cpanm -q *.tar.gz
- name: Install (perl 5.18)
image: perl:5.18
depends_on:
- Build
commands:
- echo *.tar.gz
- cpanm -q *.tar.gz