From 6967bceb8b9ea49fe2c36be1d5de5ef5f8b5c2ca Mon Sep 17 00:00:00 2001 From: Duncan Ferguson Date: Mon, 14 Oct 2024 23:21:32 +0100 Subject: [PATCH] Swap Travis-CI to Github Actions --- .github/workflows/dzil_tester.yml | 43 +++++++++++++++++++++++++++++++ .travis.yml | 39 ---------------------------- Changes | 2 +- 3 files changed, 44 insertions(+), 40 deletions(-) create mode 100644 .github/workflows/dzil_tester.yml delete mode 100644 .travis.yml diff --git a/.github/workflows/dzil_tester.yml b/.github/workflows/dzil_tester.yml new file mode 100644 index 0000000..b6b2943 --- /dev/null +++ b/.github/workflows/dzil_tester.yml @@ -0,0 +1,43 @@ +name: CI test builds + +on: + push: + branches: '*' + pull_request: + branches: '*' + +jobs: + perl-job: + runs-on: ubuntu-latest + strategy: + fail-fast: false + matric: + perl-version: + - latest + - 5.40 + - 5.38 + - 5.36 + - 5.34 + - 5.32 + - 5.30 + - 5.28 + - 5.26 + - 5.24 + - 5.22 + - 5.20 + - 5.18 + - 5.16 + containiner: + image: perldocker/perl-tester:${{ matric.perl-version }} + name: Perl ${{ matric.perl-version }} + steps: + - uses: actions/checkout@v2 + - name: Regular tests + run: | + cpanm -n -f Pod::Coverage::TrustPod Test::Perl::Critic Test::Pod::Coverage Test::Pod + perl Build.PL + perl Build test + env: + - COVERAGE=1 + - RELEASE_TESTING=1 + - AUTHOR_TESTING=1 diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 9e815ed..0000000 --- a/.travis.yml +++ /dev/null @@ -1,39 +0,0 @@ -language: perl -perl: - - blead - - dev -# No clean build due to removal of '.' from lib path - - 5.40 - - 5.38 - - 5.36 - - 5.34 - - 5.32 - - 5.30 - - 5.28 - - 5.26 - - 5.24 - - 5.22 - - 5.20 - - 5.18 - - 5.16 -# stopping builds; is anyone really still using this version? -# - 5.14 -# - 5.12 -# - 5.10 -# - 5.8 -matrix: - include: - - perl: 5.40 - env: COVERAGE=1 - allow_failures: - - perl: blead - - perl: blead-thr - - perl: dev -sudo: false -env: - global: - - RELEASE_TESTING=1 - - AUTHOR_TESTING=1 -before_install: - - eval $(curl https://travis-perl.github.io/init) --auto - - cpanm -n -f Pod::Coverage::TrustPod Test::Perl::Critic Test::Pod::Coverage Test::Pod diff --git a/Changes b/Changes index d246e62..bd59447 100644 --- a/Changes +++ b/Changes @@ -2,7 +2,7 @@ Revision history for {{$dist->name}} 4.17_01 ????-??-?? Duncan Ferguson - Swap the hostname lookup macro from DNS to using the system hostname (Github issue #158) -- Update the perl versions to test in Travis-CI +- Swap from using Travis-CI to Github Actions 4.16 2020-06-20 Duncan Ferguson - Further fix for 'resolve_names' error when adding hosts via the UI