summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid E. Wheeler <david@justatheory.com>2020-05-08 16:26:58 -0400
committerDavid E. Wheeler <david@justatheory.com>2020-05-08 16:26:58 -0400
commit4fdb22f1ee96c6b3a9feeb9ac0f8ed55fb4c7dcf (patch)
tree735b6027bfaa49c5406d1b8d89c2aaa650b6fa28
parent2ff8b8c4f1cdabf516ce4fe2f3935d5da37b94f7 (diff)
Replace Travis with GitHub Actions
-rw-r--r--.github/workflows/ci.yml36
-rw-r--r--.travis.yml13
2 files changed, 36 insertions, 13 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
new file mode 100644
index 0000000..bf173f9
--- /dev/null
+++ b/.github/workflows/ci.yml
@@ -0,0 +1,36 @@
+name: CI
+on: [push]
+jobs:
+ modern_perl:
+ strategy:
+ matrix:
+ os: ['ubuntu-latest', 'macos-latest', 'windows-latest']
+ # 5.18 https://github.com/shogo82148/actions-setup-perl/issues/222
+ perl: [ '5.30', '5.28', '5.26', '5.24', '5.22','5.20', '5.16', '5.14' ]
+ name: Perl ${{ matrix.perl }} on ${{ matrix.os }}
+ runs-on: ${{ matrix.os }}
+ steps:
+ - uses: actions/checkout@v1
+ - name: Setup perl
+ uses: shogo82148/actions-setup-perl@v1
+ with:
+ perl-version: ${{ matrix.perl }}
+ - run: perl -V
+ - run: cpanm --installdeps --with-recommends --notest -v .
+ - run: prove -lv t
+ legacy_perl:
+ strategy:
+ matrix:
+ os: ['ubuntu-latest', 'macos-latest']
+ perl: [ '5.18', '5.12', '5.10', '5.8']
+ name: Perl ${{ matrix.perl }} on ${{ matrix.os }}
+ runs-on: ${{ matrix.os }}
+ steps:
+ - uses: actions/checkout@v1
+ - name: Setup perl
+ uses: shogo82148/actions-setup-perl@v1
+ with:
+ perl-version: ${{ matrix.perl }}
+ - run: perl -V
+ - run: cpanm --installdeps --with-recommends --notest -v .
+ - run: prove -lv t
diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644
index 0c2aaa6..0000000
--- a/.travis.yml
+++ /dev/null
@@ -1,13 +0,0 @@
-language: perl
-perl:
- - "5.28"
- - "5.26"
- - "5.24"
- - "5.22"
- - "5.20"
- - "5.18"
- - "5.16"
- - "5.14"
- - "5.12"
- - "5.10"
- - "5.8"