language: perl
dist: trusty
install:
  - cpanm -n -q --skip-satisfied --installdeps .
before_script:
  - cpanm -n -q --skip-satisfied Devel::Cover Devel::Cover::Report::Codecov
script:
  - perl Build.PL && ./Build && ./Build test
  - cover -delete
  - perl -MDevel::Cover t/compile.t
  - perl -MDevel::Cover t/engine.t
after_success:
  - cover -report codecov
perl:
  - '5.30'
  - '5.28'
  - '5.26'
  - '5.24'
  - '5.22'
  - '5.18'
  - '5.16'
  - '5.10'
