Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 21 lines (18 sloc) 0.7 kb
7893d0c @frioux set up CI
authored
1 language: perl
2 perl:
3 - "5.16"
4
5 install:
6 - export RELEASE_TESTING=1 AUTOMATED_TESTING=1 AUTHOR_TESTING=1 HARNESS_OPTIONS=j10:c HARNESS_TIMER=1
7 - sudo apt-get -y install liblzma-dev bc
8 - cpanm --quiet --notest Devel::Cover
9 - cpanm --quiet --notest --installdeps .
10 - cpanm --quiet --notest Module::Package Module::Package::Ingy
11 - git clone --depth=100 --quiet git://github.com/ingydotnet/pegex-pm.git /tmp/pegex-pm
12 - cd /tmp/pegex-pm
13 - perl Makefile.PL
14 - make install
15 - cd -
16
17 script:
18 - PERL5OPT=-MDevel::Cover prove -lrsv t xt
19 - cover
20 - test "$(echo "$(cover -summary 2>/dev/null | tail -n6 | head -n1 | perl -pi -e '$_ = (split /\s+/)[7]') >= 95" | bc)" -ne 0
Something went wrong with that request. Please try again.