language: perl
perl:
  - "5.22"
  - "5.24"
  - "5.26"
  - "5.28"
  - "5.22-shrplib"
  - "5.24-shrplib"
  - "5.26-shrplib"
before_install:
  - "git clone https://github.com/GPHemsley/Net-IDN-Encode.git && pushd Net-IDN-Encode && git checkout VerifyDnsLength && cpanm --quiet --installdeps --notest . && perl Build.PL && ./Build && ./Build install && popd"
  - "git clone https://github.com/GPHemsley/WHATWG-Infra.git && pushd WHATWG-Infra && cpanm --quiet --installdeps --notest . && perl Makefile.PL && make && make test && make install && popd"

language: perl
perl:
  - "5.22"
  - "5.24"
  - "5.26"
  - "5.28"
  - "5.30"
  - "5.24-shrplib"
  - "5.26-shrplib"
os: linux
dist: xenial
matrix:
  include:
    - dist: trusty
      perl: "5.22"
    - dist: trusty
      perl: "5.22-shrplib"
    - dist: bionic
      perl: "5.26"
    - dist: bionic
      perl: "5.28"
    - dist: bionic
      perl: "5.30"
before_install:
  - "git clone https://github.com/GPHemsley/Net-IDN-Encode.git && pushd Net-IDN-Encode && git checkout VerifyDnsLength && cpanm --quiet --installdeps --notest . && perl Build.PL && ./Build && ./Build install && popd"
  - "git clone https://github.com/GPHemsley/WHATWG-Infra.git && pushd WHATWG-Infra && cpanm --quiet --installdeps --notest . && perl Makefile.PL && make && make test && make install && popd"

Add Perl 5.30 and move 5.22-shrplib to Trusty
Add Perl 5.30 and move 5.22-shrplib to Trusty

Also start testing Perl versions according to distro release date
