Repository: lucy-clownfish
Updated Branches:
  refs/heads/master 15e36c4f7 -> 137f74977


Run Travis tests with PERL_USE_UNSAFE_INC=0

This makes sure that Test::Harness doesn't set PERL_USE_UNSAFE_INC to 1
and that the tests are actually run without . in @INC.


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

Branch: refs/heads/master
Commit: 147e90e91bbaeafa9d886bf1a1ec02cf68a551b8
Parents: 15e36c4
Author: Nick Wellnhofer <wellnho...@aevum.de>
Authored: Thu Feb 8 13:25:51 2018 +0100
Committer: Nick Wellnhofer <wellnho...@aevum.de>
Committed: Thu Feb 8 13:32:53 2018 +0100

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


http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/147e90e9/devel/bin/travis-test.sh
----------------------------------------------------------------------
diff --git a/devel/bin/travis-test.sh b/devel/bin/travis-test.sh
index 78750eb..c33095c 100755
--- a/devel/bin/travis-test.sh
+++ b/devel/bin/travis-test.sh
@@ -35,6 +35,9 @@ test_c() {
 }
 
 test_perl() {
+    # Test::Harness defaults to PERL_USE_UNSAFE_INC=1
+    export PERL_USE_UNSAFE_INC=0
+
     source ~/perl5/perlbrew/etc/bashrc
     perlbrew list
     perlbrew switch $PERL_VERSION ||

Reply via email to