Fix switching Perl versions under Travis

Project: http://git-wip-us.apache.org/repos/asf/lucy/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy/commit/50d01c16
Tree: http://git-wip-us.apache.org/repos/asf/lucy/tree/50d01c16
Diff: http://git-wip-us.apache.org/repos/asf/lucy/diff/50d01c16

Branch: refs/heads/0.5
Commit: 50d01c16f11ff918ed7376e0229eff6b9bb49cf6
Parents: 9a64e89
Author: Nick Wellnhofer <[email protected]>
Authored: Tue Apr 5 11:33:02 2016 +0200
Committer: Nick Wellnhofer <[email protected]>
Committed: Tue Apr 5 11:53:36 2016 +0200

----------------------------------------------------------------------
 devel/bin/travis-test.sh | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucy/blob/50d01c16/devel/bin/travis-test.sh
----------------------------------------------------------------------
diff --git a/devel/bin/travis-test.sh b/devel/bin/travis-test.sh
index dbced44..733fbb6 100755
--- a/devel/bin/travis-test.sh
+++ b/devel/bin/travis-test.sh
@@ -39,7 +39,9 @@ test_c() {
 }
 
 test_perl() {
+    source ~/perl5/perlbrew/etc/bashrc
     perlbrew switch $PERL_VERSION
+    perlbrew list
     export PERL5LIB="$install_dir/lib/perl5"
 
     # Install Clownfish.

Reply via email to