You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

.travis.yml 912B

12345678910111213141516171819202122232425262728
  1. sudo: false
  2. language: perl
  3. perl:
  4. - '5.24'
  5. - '5.22'
  6. - '5.20'
  7. - '5.18'
  8. - '5.16'
  9. env:
  10. - PERL5LIB=$PERL5LIB:~/build/renderorange/rendmap/lib \
  11. COVERAGE=1 \
  12. HARNESS_PERL_SWITCHES='-MDevel::Cover=-db,cover_db,-coverage,statement,subroutine,time'
  13. before_install:
  14. - git clone git://github.com/travis-perl/helpers ~/travis-perl-helpers
  15. - source ~/travis-perl-helpers/init
  16. - build-perl
  17. install:
  18. - cpan-install --coverage
  19. script:
  20. - cpanm --quiet --notest strictures File::HomeDir Devel::CheckLib
  21. - cpanm --quiet --notest DBI DBD::mysql DBD::Mock JSON
  22. - cpanm --quiet --notest Dancer2 Dancer2::Plugin::Passphrase
  23. - cpanm --quiet --notest Test::More Test::MockModule Test::Exception Test::Deep
  24. - prove -v t/unit/*/*
  25. after_success:
  26. - cover -report coveralls -ignore_re .t\$ -ignore_re t/
  27. after_failure:
  28. - cat /home/travis/.cpanm/work/*/build.log