From 1dc63eeae127b9a8485cf5b30d71da632d86b44b Mon Sep 17 00:00:00 2001 From: chylli-binary Date: Mon, 6 Jun 2022 09:55:19 +0800 Subject: [PATCH 1/4] add .circleci ,and remove .travis-ci --- .circleci/config.yml | 48 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000..c7e798d --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,48 @@ +jobs: + test: + parameters: + perl-version: + description: The Perl version we want to test with + type: string + default: "5.34" + docker: + - image: perldocker/perl-tester:<< parameters.perl-version >> + steps: + - checkout + - run: + command: + cpm install -g --no-test Dist::Zilla Dist::Zilla::App::Command::cover + name: Install Dzil + - run: + name: Install dzil author dependencies + command: | + cpm install -g \ + -w 2 \ + --mirror=http://cpan.cpantesters.org/ $(dzil authordeps --missing) + - run: + name: Install dist deps + command: | + cpm install -g \ + -w 2 \ + --mirror=http://cpan.cpantesters.org/ $(dzil listdeps --author --missing) + - run: + name: Run Tests + command: | + dzil smoke --release --author && dzil cover -test && dzil xtest + +workflows: + build-workflow: + jobs: &1 + - test: + matrix: + parameters: + perl-version: + - "5.20" + - "5.22" + - "5.24" + - "5.26" + - "5.28" + - "5.30" + - "5.32" + - "5.34" +version: 2.1 From 9fb784ec4f6afb7a76823c13d01762ec19e51cd1 Mon Sep 17 00:00:00 2001 From: chylli-binary Date: Mon, 6 Jun 2022 10:12:38 +0800 Subject: [PATCH 2/4] sorry, forget to remove this file --- .travis.yml | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 2a28e13..0000000 --- a/.travis.yml +++ /dev/null @@ -1,17 +0,0 @@ -sudo: false -language: perl -matrix: - fast_finish: true -perl: - - '5.26' -before_install: - - git config --global user.name "TravisCI" - - git config --global user.email $HOSTNAME":not-for-mail@travis-ci.org" -install: - - cpanm --quiet --notest Dist::Zilla Dist::Zilla::App::Command::cover App::cpm Devel::Cover::Report::Codecov - - cpm install -w 2 --mirror=http://cpan.cpantesters.org/ -g $(dzil authordeps --missing) - - cpm install -w 2 --mirror=http://cpan.cpantesters.org/ -g $(dzil listdeps --author --missing) - -script: - - dzil smoke --release --author && dzil cover -test -report codecov && dzil xtest - From 37caab36f1302c5752c2b8f1b886a8698bdf959d Mon Sep 17 00:00:00 2001 From: chylli-binary Date: Tue, 14 Jun 2022 08:22:59 +0800 Subject: [PATCH 3/4] =?UTF-8?q?2022=E5=B9=B4=206=E6=9C=8812=E6=97=A5=20?= =?UTF-8?q?=E6=98=9F=E6=9C=9F=E6=97=A5=2009=E6=97=B643=E5=88=8628=E7=A7=92?= =?UTF-8?q?=20CST=20trigger=20tests=20[ci]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From e574312c0c1b3f1d05894ff9abab585d0f2f7022 Mon Sep 17 00:00:00 2001 From: chylli-binary Date: Thu, 16 Jun 2022 14:36:06 +0800 Subject: [PATCH 4/4] =?UTF-8?q?2022=E5=B9=B4=206=E6=9C=88=206=E6=97=A5=20?= =?UTF-8?q?=E6=98=9F=E6=9C=9F=E4=B8=80=2015=E6=97=B607=E5=88=8611=E7=A7=92?= =?UTF-8?q?=20CST=20trigger=20tests=20[ci]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit