diff --git a/CI/circle_parallel.sh b/CI/circle_parallel.sh index 8ee9dbeb2f5..a0b4b7f48c0 100755 --- a/CI/circle_parallel.sh +++ b/CI/circle_parallel.sh @@ -13,6 +13,9 @@ if [ "$NODE_INDEX" = "1" ]; then echo "Running node $NODE_INDEX ..." java -version + sudo apt-get -y install cpanminus + + (cd samples/client/petstore/perl && /bin/bash ./test.bash) (cd samples/client/petstore/ruby && mvn integration-test) (cd samples/client/petstore/ruby-faraday && mvn integration-test) (cd samples/client/petstore/ruby-httpx && mvn integration-test) diff --git a/samples/client/petstore/perl/test.bash b/samples/client/petstore/perl/test.bash new file mode 100644 index 00000000000..455ff0a77b0 --- /dev/null +++ b/samples/client/petstore/perl/test.bash @@ -0,0 +1,8 @@ +#!/bin/bash + +set -e + +cpanm --local-lib=~/perl5 local::lib && eval $(perl -I ~/perl5/lib/perl5/ -Mlocal::lib) +cpanm --installdeps . + +perl tests/01_pet_api.t