This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
re-work travis cases to test more variety
authorTony Cook <tony@develop-help.com>
Tue, 3 Dec 2019 21:50:26 +0000 (08:50 +1100)
committerTony Cook <tony@develop-help.com>
Sun, 8 Dec 2019 22:34:12 +0000 (09:34 +1100)
I expect a -DPERL_GLOBAL_STRUCT_PRIVATE build to catch most
-DPERL_GLOBAL_STRUCT issues, and these are very rarely used options
anyway, so eliminate the second.

Expand the usesitecustomize case to also check long doubles and
an English Unicode locale.

Replace the removed case to check quadmath, cbacktrace and a non-English
Unicode locale.

.travis.yml

index 819c2bd..3192fbc 100644 (file)
@@ -17,11 +17,16 @@ env:
     global:
         - JOBS=4
     matrix:
+        # exercise a variety of build options
+        # threads often cause build issues
         - CONFIGURE_ARGS='-Uusethreads'
         - CONFIGURE_ARGS='-Dusethreads'
-        - CONFIGURE_ARGS='-DPERL_GLOBAL_STRUCT'
+        # it's easy to miss dVAR
         - CONFIGURE_ARGS='-DPERL_GLOBAL_STRUCT_PRIVATE'
-        - CONFIGURE_ARGS='-Duseshrplib -Dusesitecustomize'
+        # test scripts can be sensitive to PERL_UNICODE, and check long doubles
+        - CONFIGURE_ARGS='-Duseshrplib -Dusesitecustomize -Duselongdouble' PERL_UNICODE='' LANG='en_US.UTF-8'
+        # we've rarely had a problem with non-Englush locales, and exercise quadmath
+        - CONFIGURE_ARGS='-Duseshrplib -Dusequadmath -Dusecbacktrace -Dusethreads' PERL_UNICODE='' LANG='de_DE.UTF-8'
 
 matrix:
   fast_finish: true