Repository: lucy
Updated Branches:
  refs/heads/master a1a61b728 -> 4c6d5a41f


Fix Travis Perl versions

The Perl versions available under Travis have changed and many older
releases were removed. Make perlbrew build releases that aren't
installed. Reduce the number of tested versions, but add test with
blead.


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

Branch: refs/heads/master
Commit: 4c6d5a41fd86418342a25238e36787b74471cb84
Parents: d8baf24
Author: Nick Wellnhofer <wellnho...@aevum.de>
Authored: Thu Feb 8 15:53:57 2018 +0100
Committer: Nick Wellnhofer <wellnho...@aevum.de>
Committed: Thu Feb 8 16:07:13 2018 +0100

----------------------------------------------------------------------
 .travis.yml              | 9 +++------
 devel/bin/travis-test.sh | 3 ++-
 2 files changed, 5 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucy/blob/4c6d5a41/.travis.yml
----------------------------------------------------------------------
diff --git a/.travis.yml b/.travis.yml
index 052e274..cb804d8 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -21,13 +21,10 @@ script: devel/bin/travis-test.sh
 env:
   - LUCY_DEBUG=1 CLOWNFISH_HOST=c
   - LUCY_DEBUG=1 CLOWNFISH_HOST=go
-  - LUCY_DEBUG=1 CLOWNFISH_HOST=perl PERL_VERSION=5.20
-  - LUCY_DEBUG=1 CLOWNFISH_HOST=perl PERL_VERSION=5.18
-  - LUCY_DEBUG=1 CLOWNFISH_HOST=perl PERL_VERSION=5.16
+  - LUCY_DEBUG=1 CLOWNFISH_HOST=perl PERL_VERSION=blead
+  - LUCY_DEBUG=1 CLOWNFISH_HOST=perl PERL_VERSION=5.24-extras
   - LUCY_DEBUG=1 CLOWNFISH_HOST=perl PERL_VERSION=5.14
-  - LUCY_DEBUG=1 CLOWNFISH_HOST=perl PERL_VERSION=5.12
-  - LUCY_DEBUG=1 CLOWNFISH_HOST=perl PERL_VERSION=5.10
-  - LUCY_DEBUG=1 CLOWNFISH_HOST=perl PERL_VERSION=5.8
+  - LUCY_DEBUG=1 CLOWNFISH_HOST=perl PERL_VERSION=5.8.3
 git:
   depth: 10
 

http://git-wip-us.apache.org/repos/asf/lucy/blob/4c6d5a41/devel/bin/travis-test.sh
----------------------------------------------------------------------
diff --git a/devel/bin/travis-test.sh b/devel/bin/travis-test.sh
index 0927a29..d1a05cd 100755
--- a/devel/bin/travis-test.sh
+++ b/devel/bin/travis-test.sh
@@ -49,7 +49,8 @@ test_perl() {
     export PERL_USE_UNSAFE_INC=0
 
     source ~/perl5/perlbrew/etc/bashrc
-    perlbrew switch $PERL_VERSION
+    perlbrew switch $PERL_VERSION ||
+        perlbrew install --switch --notest --noman --thread $PERL_VERSION
     perlbrew list
     export PERL5LIB="$install_dir/lib/perl5"
 

Reply via email to