From 3438d97ba24a48ca1b107129dcf99456e9f4ca95 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sat, 13 Jun 2020 14:51:50 +0200 Subject: Enable tests on GitHub --- .github/workflows/perl.yml | 33 +++++++++++++++++++++++++++++++++ .travis.yml | 9 --------- 2 files changed, 33 insertions(+), 9 deletions(-) create mode 100644 .github/workflows/perl.yml delete mode 100644 .travis.yml diff --git a/.github/workflows/perl.yml b/.github/workflows/perl.yml new file mode 100644 index 0000000..261b9e5 --- /dev/null +++ b/.github/workflows/perl.yml @@ -0,0 +1,33 @@ +name: linux + +on: + push: + branches: + - '*' + pull_request: + branches: + - '*' + +jobs: + perl: + + runs-on: ubuntu-latest + + strategy: + matrix: + perl-version: + - '5.20' + - 'latest' + - 'threaded' + + container: + image: perl:${{ matrix.perl-version }} + + steps: + - uses: actions/checkout@v2 + - name: perl -V + run: perl -V + - name: Install Dependencies + run: curl -sL https://git.io/cpm | perl - install -g --show-build-log-on-failure + - name: Run Tests + run: prove -l t diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index c8181b7..0000000 --- a/.travis.yml +++ /dev/null @@ -1,9 +0,0 @@ -language: perl -perl: - - "5.26" - - "5.24" - - "5.22" - - "5.20" - - "5.18" - - "5.16" - - "5.14" -- cgit v1.2.3