summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2021-09-17 09:40:25 +0000
committerNicholas Clark <nick@ccl4.org>2021-09-26 08:51:18 +0000
commitd8367de7813d2286c735c5fcde2cf8288eddd06f (patch)
tree98dd9b28eaf75a565f00e496c24828a3a163e408 /.travis.yml
parent99ecd386fe89b62ce54fae653cab0890eac38158 (diff)
downloadperl-d8367de7813d2286c735c5fcde2cf8288eddd06f.tar.gz
PERL_UNICODE= and LANG= can't be set as Configure arguments
The intent is to test with non-C locales and non-default Unicode handling, but to do this the values need to be set as environment variables for the test (and build - occasionally bugs are not exposed by the testsuite). Configure happily accepts anything on the command line, and records all its command line arguments in config.sh (and hence also within %Config::Config). But nothing acts on them. It's easier to set these in a separate workflow job (and test only a couple) rather than creating a second environment matrix in this job, and hence test $m * $n combinations. Unfortunately the GH test machines only have the locales C, C.UTF-8, POSIX and en_US.utf8, so we can't easily test anything more "interesting" than en_US.utf8.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml8
1 files changed, 4 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml
index df0d5cf608..51f83e1f96 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -21,10 +21,10 @@ env:
# threads often cause build issues
- CONFIGURE_ARGS='-Uusethreads'
- CONFIGURE_ARGS='-Dusethreads'
- # 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'
+ # check long doubles
+ - CONFIGURE_ARGS='-Duseshrplib -Dusesitecustomize -Duselongdouble'
+ # exercise quadmath
+ - CONFIGURE_ARGS='-Duseshrplib -Dusequadmath -Dusecbacktrace -Dusethreads'
matrix:
fast_finish: true