language: perl
perl:
    - "blead"
    - "5.20"
    - "5.18"
    - "5.16"
    - "5.14"
    - "5.12"
    - "5.10"

env:
  global:
    - RELEASE_TESTING=1
    - AUTHOR_TESTING=1

before_install:
  - git clone git://github.com/haarg/perl-travis-helper ~/perl-travis-helper
  - source ~/perl-travis-helper/init
  - build-perl
  - perl -V
  - build-dist
  - cd $BUILD_DIR

install:
  - sudo apt-get update
  - sudo apt-get install libmagic1 libmagic-dev
  - cpan-install ExtUtils::MakeMaker~6.68 --deps

script:
  - perl Makefile.PL
  - make
  - prove -br -j$(test-jobs) $(test-files)

---
language: perl
perl:
  - blead
  - 5.22
  - 5.20
  - 5.18
  - 5.16
  - 5.14
  - 5.12
  - 5.10
env:
  global:
    - RELEASE_TESTING=1
    - AUTHOR_TESTING=1
before_install:
  - git clone git://github.com/travis-perl/helpers ~/travis-perl-helpers
  - source ~/perl-travis-helper/init
  - build-perl
  - perl -V
  - build-dist
  - cd $BUILD_DIR
install:
  - sudo apt-get update
  - sudo apt-get install libmagic1 libmagic-dev
  - cpan-install ExtUtils::MakeMaker~6.68 --deps
script:
  - perl Makefile.PL
  - make
  - prove -br -j$(test-jobs) $(test-files)

Add 5.22 to build targets
Add 5.22 to build targets
