libwww-perl / WWW-Mechanize

Handy web browsing in a Perl object
https://metacpan.org/pod/WWW::Mechanize
Other
68 stars 53 forks source link

set dist trusty for old perls #279

Closed skaji closed 5 years ago

skaji commented 5 years ago

It seems that the default ubuntu version in travis ci has changed from trusty to xenial. Then, because old perls for xenial are not available, travis ci is failing with current master branch.

❯ for ubuntu_version in 14.04 16.04; do for perl_version in 5.8 5.10 5.12 5.14 5.16 5.18 5.20 5.22 5.24 5.26 5.28 5.30; do printf "ubuntu_version %s, perl_version %4s, http_status %d\n" $ubuntu_version $perl_version $(curl -X HEAD -w '%{http_code}\n' -s https://storage.googleapis.com/travis-ci-language-archives/perl/binaries/ubuntu/$ubuntu_version/x86_64/perl-$perl_version.tar.bz2); done; done
ubuntu_version 14.04, perl_version  5.8, http_status 200
ubuntu_version 14.04, perl_version 5.10, http_status 200
ubuntu_version 14.04, perl_version 5.12, http_status 200
ubuntu_version 14.04, perl_version 5.14, http_status 200
ubuntu_version 14.04, perl_version 5.16, http_status 200
ubuntu_version 14.04, perl_version 5.18, http_status 200
ubuntu_version 14.04, perl_version 5.20, http_status 200
ubuntu_version 14.04, perl_version 5.22, http_status 200
ubuntu_version 14.04, perl_version 5.24, http_status 200
ubuntu_version 14.04, perl_version 5.26, http_status 200
ubuntu_version 14.04, perl_version 5.28, http_status 200
ubuntu_version 14.04, perl_version 5.30, http_status 200
ubuntu_version 16.04, perl_version  5.8, http_status 404
ubuntu_version 16.04, perl_version 5.10, http_status 404
ubuntu_version 16.04, perl_version 5.12, http_status 404
ubuntu_version 16.04, perl_version 5.14, http_status 404
ubuntu_version 16.04, perl_version 5.16, http_status 404
ubuntu_version 16.04, perl_version 5.18, http_status 404
ubuntu_version 16.04, perl_version 5.20, http_status 404
ubuntu_version 16.04, perl_version 5.22, http_status 200
ubuntu_version 16.04, perl_version 5.24, http_status 200
ubuntu_version 16.04, perl_version 5.26, http_status 200
ubuntu_version 16.04, perl_version 5.28, http_status 200
ubuntu_version 16.04, perl_version 5.30, http_status 200

Let's use dist: trusty for now.

See also https://travis-ci.community/t/failure-with-perl-5-16-5-18-5-20/2458

coveralls commented 5 years ago

Pull Request Test Coverage Report for Build 264


Totals Coverage Status
Change from base Build 259: 0.0%
Covered Lines: 725
Relevant Lines: 782

💛 - Coveralls
skaji commented 4 years ago

It looks like some old perls for 16.04 are available now

❯ for ubuntu_version in 14.04 16.04; do for perl_version in 5.8 5.10 5.12 5.14 5.16 5.18 5.20 5.22 5.24 5.26 5.28 5.30; do printf "ubuntu_version %s, perl_version %4s, http_status %d\n" $ubuntu_version $perl_version $(curl -X HEAD -w '%{http_code}\n' -s https://storage.googleapis.com/travis-ci-language-archives/perl/binaries/ubuntu/$ubuntu_version/x86_64/perl-$perl_version.tar.bz2); done; done
ubuntu_version 14.04, perl_version  5.8, http_status 200
ubuntu_version 14.04, perl_version 5.10, http_status 200
ubuntu_version 14.04, perl_version 5.12, http_status 200
ubuntu_version 14.04, perl_version 5.14, http_status 200
ubuntu_version 14.04, perl_version 5.16, http_status 200
ubuntu_version 14.04, perl_version 5.18, http_status 200
ubuntu_version 14.04, perl_version 5.20, http_status 200
ubuntu_version 14.04, perl_version 5.22, http_status 200
ubuntu_version 14.04, perl_version 5.24, http_status 200
ubuntu_version 14.04, perl_version 5.26, http_status 200
ubuntu_version 14.04, perl_version 5.28, http_status 200
ubuntu_version 14.04, perl_version 5.30, http_status 200
ubuntu_version 16.04, perl_version  5.8, http_status 404
ubuntu_version 16.04, perl_version 5.10, http_status 404
ubuntu_version 16.04, perl_version 5.12, http_status 404
ubuntu_version 16.04, perl_version 5.14, http_status 200
ubuntu_version 16.04, perl_version 5.16, http_status 200
ubuntu_version 16.04, perl_version 5.18, http_status 200
ubuntu_version 16.04, perl_version 5.20, http_status 200
ubuntu_version 16.04, perl_version 5.22, http_status 200
ubuntu_version 16.04, perl_version 5.24, http_status 200
ubuntu_version 16.04, perl_version 5.26, http_status 200
ubuntu_version 16.04, perl_version 5.28, http_status 200
ubuntu_version 16.04, perl_version 5.30, http_status 200
oalders commented 4 years ago

Great! Let's see what happens with #294. :)

skaji commented 4 years ago

Oh, no. 5.8, 5.10, 5.12 for ubuntu 16.04 are still missing.

oalders commented 4 years ago

There has been some progress on travis-perl-helpers lately. Perhaps everything will magically "just work"?

skaji commented 4 years ago

OK. Let's see how it goes:)