summaryrefslogtreecommitdiff
path: root/test/travis_run_linux.sh
diff options
context:
space:
mode:
authorJoe Orton <jorton@apache.org>2023-01-09 09:26:05 +0000
committerJoe Orton <jorton@apache.org>2023-01-09 09:26:05 +0000
commit6fd241a51b29ef090e6ca602948e17ca9afffa6e (patch)
tree8fe62827994bb9f9fbbbd21c3491fd1df67e4864 /test/travis_run_linux.sh
parent7567478784503ceacbda215335eed6f48027cc26 (diff)
downloadhttpd-6fd241a51b29ef090e6ca602948e17ca9afffa6e.tar.gz
Prep for GitHub actions: move CPAN handling into test scripts,
don't reference /home/travis directly. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1906480 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/travis_run_linux.sh')
-rwxr-xr-xtest/travis_run_linux.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/travis_run_linux.sh b/test/travis_run_linux.sh
index 692e5f82ba..8aa1811b0b 100755
--- a/test/travis_run_linux.sh
+++ b/test/travis_run_linux.sh
@@ -39,6 +39,9 @@ if test ! -v SKIP_TESTING; then
CONFIG="--with-test-suite=test/perl-framework $CONFIG"
WITH_TEST_SUITE=1
fi
+
+ # Use the CPAN environment.
+ eval $(perl -I ~/perl5/lib/perl5/ -Mlocal::lib)
fi
if test -v APR_VERSION; then
CONFIG="$CONFIG --with-apr=$HOME/root/apr-${APR_VERSION}"