blob: a6870d429a52ecac0a1f85d48efcab300b5bb403 (
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
25
26
27
28
29
30
31
|
language: perl
perl:
- "5.8"
- "5.24"
matrix:
include:
- perl: 5.8
env: JSON_XS_VERSION=4.00
- perl: 5.8
env: JSON_XS_VERSION=3.02
- perl: 5.8
env: JSON_XS_VERSION=2.34
- perl: 5.8
env: JSON_PP_VERSION=2.97001
- perl: 5.8
env: JSON_PP_VERSION=2.27400
- perl: 5.8
env: JSON_PP_VERSION=2.27101
- perl: 5.8
env: CPANEL_JSON_XS_VERSION=3.0218
- perl: 5.8
env: CPANEL_JSON_XS_VERSION=4.08
before_install:
- test $JSON_PP_VERSION && cpanm -n JSON::XS@$JSON_XS_VERSION || true
- test $JSON_XS_VERSION && cpanm -n JSON::XS@$JSON_XS_VERSION || true
- test $CPANEL_JSON_XS_VERSION && cpanm -n Cpanel::JSON::XS@$CPANEL_JSON_XS_VERSION || true
script:
- if test ! $JSON_PP_VERSION && test ! $JSON_XS_VERSION && test ! $CPANEL_JSON_XS_VERSION; then perl Makefile.PL && PERL_JSON_BACKEND=JSON::backportPP make test; else true; fi
- if test $JSON_PP_VERSION; then perl Makefile.PL && PERL_JSON_BACKEND=JSON::PP make test; else true; fi
- if test $JSON_XS_VERSION; then perl Makefile.PL && PERL_JSON_BACKEND=JSON::XS make test; else true; fi
- if test $CPANEL_JSON_XS_VERSION; then perl Makefile.PL && PERL_JSON_BACKEND=Cpanel::JSON::XS make test; else true; fi
|