From a5fc663691e3eb550bc3fcec2373ab518f404dbd Mon Sep 17 00:00:00 2001 From: David Cantrell Date: Sun, 6 Dec 2020 23:24:05 +0000 Subject: [PATCH] switch to Github for coverage testing --- .github/workflows/coveralls.yml | 17 +++++++++++++++++ .travis.yml | 9 --------- 2 files changed, 17 insertions(+), 9 deletions(-) create mode 100644 .github/workflows/coveralls.yml delete mode 100644 .travis.yml diff --git a/.github/workflows/coveralls.yml b/.github/workflows/coveralls.yml new file mode 100644 index 0000000..1fa9e18 --- /dev/null +++ b/.github/workflows/coveralls.yml @@ -0,0 +1,17 @@ +on: [push, pull_request] +name: Generate Coveralls report +jobs: + build: + runs-on: 'ubuntu-latest' + steps: + - uses: actions/checkout@v2 + - uses: shogo82148/actions-setup-perl@v1 + with: + perl-version: 5.32 + - name: Run with coverage checking + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: | + cpanm --installdeps . + cpanm Devel::Cover::Report::Coveralls + cover -test -report Coveralls diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 94ffb33..0000000 --- a/.travis.yml +++ /dev/null @@ -1,9 +0,0 @@ -language: perl -matrix: - include: - - perl: 5.20 - env: COVERAGE=1 - dist: trusty -before_install: - - eval $(curl https://travis-perl.github.io/init) --auto -sudo: false