summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorHyunjee Kim <hj0426.kim@samsung.com>2020-03-17 09:38:42 +0900
committerHyunjee Kim <hj0426.kim@samsung.com>2020-03-17 10:32:30 +0900
commit8d2a41273a56a33a291d292c1fbee03cce290694 (patch)
treed2e93626e62e86e0be5696b4ce240d0af7376a6a /.travis.yml
parentc5bbcb68877d7b8bdb968a69aa62b3b90853cb3f (diff)
downloadperl-json-8d2a41273a56a33a291d292c1fbee03cce290694.tar.gz
perl-json-8d2a41273a56a33a291d292c1fbee03cce290694.tar.bz2
perl-json-8d2a41273a56a33a291d292c1fbee03cce290694.zip
Imported Upstream version 4.02upstream/4.02
Change-Id: I549bbbd41e3db39e6fd6f2b1f2c4c94b94071018 Signed-off-by: Hyunjee Kim <hj0426.kim@samsung.com>
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml31
1 files changed, 31 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..a6870d4
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,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