From 9434864770406cc9663437063ecab91820fdd4fe Mon Sep 17 00:00:00 2001 From: Jay Satiro Date: Sat, 28 Dec 2019 01:56:05 -0500 Subject: travis: Fix error detection - Stop using inline shell scripts for before_script and script sections. Prior to this change Travis could ignore errors from commands in inline scripts. I don't understand how or why it happens. This is a workaround. Assisted-by: Simon Warta Ref: https://github.com/travis-ci/travis-ci/issues/1066 Fixes https://github.com/curl/curl/issues/3730 Closes https://github.com/curl/curl/pull/3755 --- scripts/travis/iconv-env.sh | 1 + 1 file changed, 1 insertion(+) create mode 100755 scripts/travis/iconv-env.sh (limited to 'scripts/travis/iconv-env.sh') diff --git a/scripts/travis/iconv-env.sh b/scripts/travis/iconv-env.sh new file mode 100755 index 000000000..bb7dcf422 --- /dev/null +++ b/scripts/travis/iconv-env.sh @@ -0,0 +1 @@ +export CPPFLAGS="-DCURL_DOES_CONVERSIONS -DHAVE_ICONV -DCURL_ICONV_CODESET_OF_HOST='\"ISO8859-1\"'" -- cgit v1.2.1