From 7b1b467ce308d17fa51b3c971d5013c233880710 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Mon, 6 Apr 2020 08:33:05 +0200 Subject: Switch to GitHub Actions Squashed commit of the following: commit 4dd56fda9dad618b5508e9235b6ec5953236fe3a Author: Daniel Friesel Date: Mon Apr 6 08:30:29 2020 +0200 run ./Build first commit 6f31024609bc9e8e5f6101bb4ab7a9edb5ed9089 Author: Daniel Friesel Date: Mon Apr 6 08:26:50 2020 +0200 add cpanfile commit 443f45d5b18ebb0de321e47e73f493d4527eb4f5 Author: Daniel Friesel Date: Mon Apr 6 08:12:29 2020 +0200 Revert "hm" This reverts commit 11f4b1161da25b29e5dd7a17a75eff6e3f7b92f9. commit 11f4b1161da25b29e5dd7a17a75eff6e3f7b92f9 Author: Daniel Friesel Date: Mon Apr 6 08:02:09 2020 +0200 hm commit 9a5b2e43ac9c786095092a7320eb86552cf6460a Author: Daniel Friesel Date: Mon Apr 6 07:54:24 2020 +0200 switch to GitHub actions --- .github/workflows/perl.yml | 37 +++++++++++++++++++++++++++++++++++++ .travis.yml | 6 ------ cpanfile | 26 ++++++++++++++++++++++++++ 3 files changed, 63 insertions(+), 6 deletions(-) create mode 100644 .github/workflows/perl.yml delete mode 100644 .travis.yml create mode 100644 cpanfile diff --git a/.github/workflows/perl.yml b/.github/workflows/perl.yml new file mode 100644 index 0000000..dc02d1e --- /dev/null +++ b/.github/workflows/perl.yml @@ -0,0 +1,37 @@ +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: Pre-Build + run: perl Build.PL + - name: Build + run: ./Build + - name: Run Tests + run: prove -bl t diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 0fcf3ca..0000000 --- a/.travis.yml +++ /dev/null @@ -1,6 +0,0 @@ -language: perl -perl: - - "5.28" - - "5.26" - - "5.24" - - "5.22" diff --git a/cpanfile b/cpanfile new file mode 100644 index 0000000..7201dc4 --- /dev/null +++ b/cpanfile @@ -0,0 +1,26 @@ +requires 'Cache::File'; +requires 'Carp'; +requires 'Class::Accessor'; +requires 'DateTime'; +requires 'DateTime::Format::Strptime'; +requires 'Encode'; +requires 'Geo::Distance'; +requires 'Getopt::Long'; +requires 'List::Compare' => '0.29', +requires 'List::MoreUtils'; +requires 'List::Util'; +requires 'List::UtilsBy'; +requires 'LWP::UserAgent'; +requires 'Text::LevenshteinXS'; +requires 'XML::LibXML'; + +on test => sub { + requires 'File::Slurp'; + requires 'JSON'; + requires 'Test::Compile'; + requires 'Test::Fatal'; + requires 'Test::More'; + requires 'Test::Number::Delta'; + requires 'Test::Pod'; + requires 'Text::CSV'; +}; -- cgit v1.2.3