From 134c5c06c21795c9d4f5a77284b64ae837d19349 Mon Sep 17 00:00:00 2001 From: Jose Luis Date: Fri, 30 Nov 2018 09:00:39 +0100 Subject: [PATCH 01/15] Update README.md --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 3218f31..aded4ce 100644 --- a/README.md +++ b/README.md @@ -1 +1,4 @@ +[![build status](https://secure.travis-ci.org/jluis/Term-Shell.svg)](http://travis-ci.org/jluis/Term-Shell) + + Sources for [Term-Shell](https://metacpan.org/release/Term-Shell) . From ca6feb70098eb145944446accd322c86684fc357 Mon Sep 17 00:00:00 2001 From: Jose Luis Date: Fri, 30 Nov 2018 10:11:43 +0100 Subject: [PATCH 02/15] Testing for Dist::Zilla unsupported perls --- .travis.yml | 38 +++++++++++++++++++++++++------------- 1 file changed, 25 insertions(+), 13 deletions(-) diff --git a/.travis.yml b/.travis.yml index f0352c4..fccafe9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,19 +3,31 @@ before_install: - export HARNESS_OPTIONS=j10:c HARNESS_TIMER=1 - git config --global user.name "Dist Zilla Plugin TravisCI" - git config --global user.email $HOSTNAME":not-for-mail@travis-ci.org" -install: - - cpanm --notest --skip-satisfied Pod::Weaver::Section::Support Test::Pod Text::Autoformat Test::TrailingSpace Dist::Zilla - - dzil authordeps | cpanm --notest --skip-satisfied - - dzil listdeps --author | cpanm --notest --skip-satisfied + - git clone git://github.com/haarg/perl-travis-helper + - source perl-travis-helper/init + - build-perl + - perl -V + - build-dist + - cd $BUILD_DIR +install: + - cpanm --quiet --notest --installdeps . +# cpanm --notest --skip-satisfied Pod::Weaver::Section::Support Test::Pod Text::Autoformat Test::TrailingSpace +# - dzil authordeps | cpanm --notest --skip-satisfied +# - dzil listdeps --author | cpanm --notest --skip-satisfied + language: perl perl: - - '5.14' - - '5.16' - - '5.18' - - '5.20' - - '5.22' - - '5.24' - - '5.26' -script: - - dzil test --all + - '5.8' +# - '5.10' +# - '5.12' +# - '5.14' +# - '5.16' +# - '5.18' +# - '5.20' +# - '5.22' +# - '5.24' +# - '5.26' +# - '5.28' +#script: +# - dzil test --all From 70abca7bcc6dbbbad9d04b339557eeafb346952f Mon Sep 17 00:00:00 2001 From: Jose Luis Date: Fri, 30 Nov 2018 10:31:39 +0100 Subject: [PATCH 03/15] test on 5.8 trying https://lukasatkinson.de/2017/dist-zilla-on-travis-ci/ --- .travis.yml | 27 ++++++++++++++++----------- 1 file changed, 16 insertions(+), 11 deletions(-) diff --git a/.travis.yml b/.travis.yml index fccafe9..e140f70 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,14 +1,19 @@ --- +env: + global: + - builddir=./build-CI + - stableperl=5.20 + - RELEASE_TESTING=1 + - AUTOMATED_TESTING=1 + - EXTENDED_TESTING=1 + - AUTHOR_TESTING=1 before_install: - - export HARNESS_OPTIONS=j10:c HARNESS_TIMER=1 - - git config --global user.name "Dist Zilla Plugin TravisCI" - - git config --global user.email $HOSTNAME":not-for-mail@travis-ci.org" - - git clone git://github.com/haarg/perl-travis-helper - - source perl-travis-helper/init - - build-perl - - perl -V - - build-dist - - cd $BUILD_DIR + - perlbrew list + - "perlbrew exec --with $stableperl 'cpanm --quiet --notest --skip-satisfied Pod::Weaver::Section::Support Test::Pod Text::Autoformat Test::TrailingSpace Dist::Zilla'" + - "perlbrew exec --with $stableperl 'dzil authordeps | cpanm --quiet --notest'" + - "perlbrew exec --with $stableperl 'dzil listdeps --author | cpanm --notest --skip-satisfied'" + - "perlbrew exec --with $stableperl 'dzil build --in $builddir'" + - cd $buildir install: - cpanm --quiet --notest --installdeps . @@ -29,5 +34,5 @@ perl: # - '5.24' # - '5.26' # - '5.28' -#script: -# - dzil test --all +script: + - prove -lr t From ee3cd786b71b28805d78dfa04fe2df2d5af368a9 Mon Sep 17 00:00:00 2001 From: Jose Luis Date: Fri, 30 Nov 2018 10:40:56 +0100 Subject: [PATCH 04/15] Update .travis.yml --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index e140f70..a237c37 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,12 +2,12 @@ env: global: - builddir=./build-CI - - stableperl=5.20 - RELEASE_TESTING=1 - AUTOMATED_TESTING=1 - EXTENDED_TESTING=1 - AUTHOR_TESTING=1 before_install: + - "export stableperl=`perlbrew list | tail -1`" - perlbrew list - "perlbrew exec --with $stableperl 'cpanm --quiet --notest --skip-satisfied Pod::Weaver::Section::Support Test::Pod Text::Autoformat Test::TrailingSpace Dist::Zilla'" - "perlbrew exec --with $stableperl 'dzil authordeps | cpanm --quiet --notest'" From 103bde52724b6e718cd425b82dcc555a71a9e0c1 Mon Sep 17 00:00:00 2001 From: Jose Luis Date: Fri, 30 Nov 2018 10:44:53 +0100 Subject: [PATCH 05/15] Update .travis.yml --- .travis.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index a237c37..d699849 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,13 +10,13 @@ before_install: - "export stableperl=`perlbrew list | tail -1`" - perlbrew list - "perlbrew exec --with $stableperl 'cpanm --quiet --notest --skip-satisfied Pod::Weaver::Section::Support Test::Pod Text::Autoformat Test::TrailingSpace Dist::Zilla'" - - "perlbrew exec --with $stableperl 'dzil authordeps | cpanm --quiet --notest'" - - "perlbrew exec --with $stableperl 'dzil listdeps --author | cpanm --notest --skip-satisfied'" + - "perlbrew exec --with $stableperl 'dzil authordeps | cpanm --quiet --notest --skip-satisfied'" + - "perlbrew exec --with $stableperl 'dzil listdeps --author | cpanm --notest --skip-satisfied'" - "perlbrew exec --with $stableperl 'dzil build --in $builddir'" - cd $buildir install: - - cpanm --quiet --notest --installdeps . + - cpanm --installdeps . # cpanm --notest --skip-satisfied Pod::Weaver::Section::Support Test::Pod Text::Autoformat Test::TrailingSpace # - dzil authordeps | cpanm --notest --skip-satisfied # - dzil listdeps --author | cpanm --notest --skip-satisfied From 2c1dbb6fe7bfc6878906802138a0c72d9ae84e27 Mon Sep 17 00:00:00 2001 From: Jose Luis Date: Fri, 30 Nov 2018 10:55:09 +0100 Subject: [PATCH 06/15] Update .travis.yml --- .travis.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index d699849..135e642 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,10 +13,9 @@ before_install: - "perlbrew exec --with $stableperl 'dzil authordeps | cpanm --quiet --notest --skip-satisfied'" - "perlbrew exec --with $stableperl 'dzil listdeps --author | cpanm --notest --skip-satisfied'" - "perlbrew exec --with $stableperl 'dzil build --in $builddir'" - - cd $buildir install: - - cpanm --installdeps . + - '(cd $builddir && cpanm --quiet --notest --installdeps --skip-satisfied .)' # cpanm --notest --skip-satisfied Pod::Weaver::Section::Support Test::Pod Text::Autoformat Test::TrailingSpace # - dzil authordeps | cpanm --notest --skip-satisfied # - dzil listdeps --author | cpanm --notest --skip-satisfied @@ -35,4 +34,4 @@ perl: # - '5.26' # - '5.28' script: - - prove -lr t + - '(cd $builddir && cpanm --test-only .)' From 61c6ee882ccb8c35f5748e9adfa0b664ba064829 Mon Sep 17 00:00:00 2001 From: Jose Luis Date: Fri, 30 Nov 2018 11:01:46 +0100 Subject: [PATCH 07/15] Update .travis.yml --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index 135e642..349f93f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -34,4 +34,5 @@ perl: # - '5.26' # - '5.28' script: + - '(cd $builddir && prove -lr t)' - '(cd $builddir && cpanm --test-only .)' From 6fd1275cc0da5118f6adf024271dfe84db3ec176 Mon Sep 17 00:00:00 2001 From: Jose Luis Date: Fri, 30 Nov 2018 11:07:55 +0100 Subject: [PATCH 08/15] Update .travis.yml --- .travis.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 349f93f..af3768e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,7 +16,7 @@ before_install: install: - '(cd $builddir && cpanm --quiet --notest --installdeps --skip-satisfied .)' -# cpanm --notest --skip-satisfied Pod::Weaver::Section::Support Test::Pod Text::Autoformat Test::TrailingSpace + - cpanm --notest --skip-satisfied Test::CPAN::Changes Test::Kwalitee #Pod::Weaver::Section::Support Test::Pod Text::Autoformat Test::TrailingSpace # - dzil authordeps | cpanm --notest --skip-satisfied # - dzil listdeps --author | cpanm --notest --skip-satisfied @@ -35,4 +35,3 @@ perl: # - '5.28' script: - '(cd $builddir && prove -lr t)' - - '(cd $builddir && cpanm --test-only .)' From 6f531c58d4a6192fec3e5cd87b3c841f9f31c05e Mon Sep 17 00:00:00 2001 From: Jose Luis Date: Fri, 30 Nov 2018 11:12:43 +0100 Subject: [PATCH 09/15] Update .travis.yml --- .travis.yml | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/.travis.yml b/.travis.yml index af3768e..7a630cb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,22 +16,20 @@ before_install: install: - '(cd $builddir && cpanm --quiet --notest --installdeps --skip-satisfied .)' - - cpanm --notest --skip-satisfied Test::CPAN::Changes Test::Kwalitee #Pod::Weaver::Section::Support Test::Pod Text::Autoformat Test::TrailingSpace -# - dzil authordeps | cpanm --notest --skip-satisfied -# - dzil listdeps --author | cpanm --notest --skip-satisfied + - cpanm --notest --skip-satisfied Test::CPAN::Changes Test::Kwalitee Test::TrailingSpace language: perl perl: - '5.8' -# - '5.10' -# - '5.12' -# - '5.14' -# - '5.16' -# - '5.18' -# - '5.20' -# - '5.22' -# - '5.24' -# - '5.26' -# - '5.28' + - '5.10' + - '5.12' + - '5.14' + - '5.16' + - '5.18' + - '5.20' + - '5.22' + - '5.24' + - '5.26' + - '5.28' script: - '(cd $builddir && prove -lr t)' From e3953bf44de5a8bdcdd8a89dc8569abc3927908d Mon Sep 17 00:00:00 2001 From: Jose Luis Date: Fri, 30 Nov 2018 11:45:14 +0100 Subject: [PATCH 10/15] Update .travis.yml --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 7a630cb..0e75457 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,7 +9,7 @@ env: before_install: - "export stableperl=`perlbrew list | tail -1`" - perlbrew list - - "perlbrew exec --with $stableperl 'cpanm --quiet --notest --skip-satisfied Pod::Weaver::Section::Support Test::Pod Text::Autoformat Test::TrailingSpace Dist::Zilla'" + - "perlbrew exec --with $stableperl 'cpanm --quiet --notest --skip-satisfied Pod::Weaver::Section::Support Test::Pod Text::Autoformat Dist::Zilla'" - "perlbrew exec --with $stableperl 'dzil authordeps | cpanm --quiet --notest --skip-satisfied'" - "perlbrew exec --with $stableperl 'dzil listdeps --author | cpanm --notest --skip-satisfied'" - "perlbrew exec --with $stableperl 'dzil build --in $builddir'" From 942a4ca35d4cba623c322bbf356ca00c7b1d26f9 Mon Sep 17 00:00:00 2001 From: Jose Luis Perez Date: Fri, 30 Nov 2018 11:00:07 +0000 Subject: [PATCH 11/15] moving dependencies to dist.ini --- .travis.yml | 2 +- dist.ini | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 0e75457..d0d0f11 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,7 +9,7 @@ env: before_install: - "export stableperl=`perlbrew list | tail -1`" - perlbrew list - - "perlbrew exec --with $stableperl 'cpanm --quiet --notest --skip-satisfied Pod::Weaver::Section::Support Test::Pod Text::Autoformat Dist::Zilla'" + - "perlbrew exec --with $stableperl 'cpanm --quiet --notest --skip-satisfied Dist::Zilla'" - "perlbrew exec --with $stableperl 'dzil authordeps | cpanm --quiet --notest --skip-satisfied'" - "perlbrew exec --with $stableperl 'dzil listdeps --author | cpanm --notest --skip-satisfied'" - "perlbrew exec --with $stableperl 'dzil build --in $builddir'" diff --git a/dist.ini b/dist.ini index c0fcc39..3c11a6b 100644 --- a/dist.ini +++ b/dist.ini @@ -42,6 +42,9 @@ Getopt::Long = 2.36 [Test::Compile] fake_home = 1 skip = bump-ver +[Pod::Weaver::Section::Support] +[Test::Pod] +[Text::Autoformat] [Test::CPAN::Changes] [Test::Kwalitee] [Test::TrailingSpace] From 5011a675070358e61cc7eb8c7da1d96a1cf179fb Mon Sep 17 00:00:00 2001 From: Jose Luis Perez Date: Fri, 30 Nov 2018 11:07:41 +0000 Subject: [PATCH 12/15] second try dependencies to dist.ini --- dist.ini | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dist.ini b/dist.ini index 3c11a6b..8b0d218 100644 --- a/dist.ini +++ b/dist.ini @@ -42,9 +42,9 @@ Getopt::Long = 2.36 [Test::Compile] fake_home = 1 skip = bump-ver -[Pod::Weaver::Section::Support] -[Test::Pod] -[Text::Autoformat] +; autordep Pod::Weaver::Section::Support +; autordep Test::Pod +; autordep Text::Autoformat [Test::CPAN::Changes] [Test::Kwalitee] [Test::TrailingSpace] From 21289714b3a52d68286c0e0f3cdb5c8b8c7e8658 Mon Sep 17 00:00:00 2001 From: Jose Luis Perez Date: Fri, 30 Nov 2018 11:57:26 +0000 Subject: [PATCH 13/15] check --- .travis.yml | 4 ++-- dist.ini | 3 --- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index d0d0f11..a54c935 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,13 +9,13 @@ env: before_install: - "export stableperl=`perlbrew list | tail -1`" - perlbrew list - - "perlbrew exec --with $stableperl 'cpanm --quiet --notest --skip-satisfied Dist::Zilla'" + - "perlbrew exec --with $stableperl 'cpanm --quiet --notest --skip-satisfied Pod::Weaver::Section::Support Test::Pod Text::Autoformat Dist::Zilla'" - "perlbrew exec --with $stableperl 'dzil authordeps | cpanm --quiet --notest --skip-satisfied'" - "perlbrew exec --with $stableperl 'dzil listdeps --author | cpanm --notest --skip-satisfied'" - "perlbrew exec --with $stableperl 'dzil build --in $builddir'" install: - - '(cd $builddir && cpanm --quiet --notest --installdeps --skip-satisfied .)' + - cpanm --quiet --notest --installdeps --skip-satisfied $buildir - cpanm --notest --skip-satisfied Test::CPAN::Changes Test::Kwalitee Test::TrailingSpace language: perl diff --git a/dist.ini b/dist.ini index 8b0d218..c0fcc39 100644 --- a/dist.ini +++ b/dist.ini @@ -42,9 +42,6 @@ Getopt::Long = 2.36 [Test::Compile] fake_home = 1 skip = bump-ver -; autordep Pod::Weaver::Section::Support -; autordep Test::Pod -; autordep Text::Autoformat [Test::CPAN::Changes] [Test::Kwalitee] [Test::TrailingSpace] From 22c264a92d4256c5ac247275ba0a9552c4a157ff Mon Sep 17 00:00:00 2001 From: Jose Luis Perez Date: Fri, 30 Nov 2018 12:02:38 +0000 Subject: [PATCH 14/15] check --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index a54c935..6d078f8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,7 +15,7 @@ before_install: - "perlbrew exec --with $stableperl 'dzil build --in $builddir'" install: - - cpanm --quiet --notest --installdeps --skip-satisfied $buildir + - "cpanm --quiet --notest --installdeps --skip-satisfied $buildir" - cpanm --notest --skip-satisfied Test::CPAN::Changes Test::Kwalitee Test::TrailingSpace language: perl From 0814a15210162d00786ab5394f962ad29343d682 Mon Sep 17 00:00:00 2001 From: Jose Luis Perez Date: Fri, 30 Nov 2018 12:05:41 +0000 Subject: [PATCH 15/15] check --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 6d078f8..022a165 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,7 +15,7 @@ before_install: - "perlbrew exec --with $stableperl 'dzil build --in $builddir'" install: - - "cpanm --quiet --notest --installdeps --skip-satisfied $buildir" + - "cpanm --quiet --notest --installdeps --skip-satisfied $builddir" - cpanm --notest --skip-satisfied Test::CPAN::Changes Test::Kwalitee Test::TrailingSpace language: perl