summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 761b7fa99c5a7de040250a9f83495db08be3969e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
language: perl
perl:
  - "5.20"
  - "5.18"
  - "5.16"
  - "5.14"
  - "5.12"
  - "5.10"
before_install:
  - sudo apt-get -y install make gcc
install:
  - cpanm --local-lib=~/perl5 local::lib
  - cpanm --local-lib=~/perl5 --quiet --notest --skip-satisfied Devel::Cover
  - cpanm --local-lib=~/perl5 --quiet --notest --skip-satisfied Module::Build
  - cpanm --local-lib=~/perl5 --quiet --installdeps --notest --force --skip-satisfied .
script:
  - export PERL5LIB=$HOME/perl5/lib/perl5
  - export PATH=$HOME/perl5/bin:$PATH
  - perl Build.PL && ./Build build && cover -test
after_success:
  - cpanm --quiet --notest --skip-satisfied Devel::Cover::Report::Coveralls
  - cover -report coveralls
env: RELEASE_TESTING=1 AUTOMATED_TESTING=1
sudo: false