From 34874e1df212cbdff36210f209318d1aa04a7726 Mon Sep 17 00:00:00 2001 From: Paul Cochrane Date: Mon, 20 Apr 2026 13:37:55 +0200 Subject: [PATCH 1/2] Add GitHub action to build and test the dist Note that `Dist::Zilla` currently requires at least Perl 5.20 to build and install. This is why the list of Perlso doesn't match the original list in the Travis-CI config file. --- .github/workflows/linux.yml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .github/workflows/linux.yml diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml new file mode 100644 index 0000000..956bd61 --- /dev/null +++ b/.github/workflows/linux.yml @@ -0,0 +1,35 @@ +name: linux + +on: [push, pull_request] + +jobs: + perl_tester: + runs-on: 'ubuntu-latest' + name: "perl v${{ matrix.perl-version }}" + + strategy: + fail-fast: false + matrix: + perl-version: + - "5.42" + - "5.40" + - "5.38" + - "5.36" + - "5.34" + - "5.32" + - "5.30" + - "5.28" + - "5.26" + - "5.24" + - "5.22" + - "5.20" + + container: + image: perldocker/perl-tester:${{ matrix.perl-version }} + + steps: + - uses: actions/checkout@v6 + - run: cpanm --notest Dist::Zilla + - run: dzil authordeps --missing | cpanm + - run: dzil listdeps --author --missing | cpanm + - run: dzil test --all From 59a8ea5f3c0d6e36b7be5ed9cff95d28c1260646 Mon Sep 17 00:00:00 2001 From: Paul Cochrane Date: Tue, 21 Apr 2026 06:50:10 +0200 Subject: [PATCH 2/2] Remove Travis-CI config file Travis-CI stopped allowing Open Source projects to use its CI service many years ago. These days, GitHub has its own CI system, hence the need for an external CI provider has been reduced. With the GitHub action implemented in the previous commit (34874e1d), the Travis-CI config file is no longer necessary and can be removed. --- .travis.yml | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 87f2be3..0000000 --- a/.travis.yml +++ /dev/null @@ -1,18 +0,0 @@ -language: perl -perl: - - "5.19" - - "5.18" - - "5.16" - - "5.14" - - "5.12" - - "5.10" -install: - - cpanm -q --notest Dist::Zilla || (cat /home/travis/.cpanm/build.log; false) - - dzil authordeps --missing | cpanm -q --notest || (cat /home/travis/.cpanm/build.log; false) - - dzil listdeps --author --missing | cpanm -q --notest || (cat /home/travis/.cpanm/build.log; false) -script: - - dzil test --all -notifications: - channels: - - "irc.perl.org#ox" - on_success: change