diff options
author | Daniel Stenberg <daniel@haxx.se> | 2017-09-07 12:42:30 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2018-01-30 13:20:10 +0100 |
commit | 1de509c04bd85bbaf6be38025c2dba1eb69b33c5 (patch) | |
tree | dd08cf174c4a5e4ecd48c64ba999be95deee7a79 | |
parent | f02c34476d20bbc25c009a74b42e058504560b0a (diff) | |
download | curl-bagder/travis-iconv.tar.gz |
travis: build with iconv enabledbagder/travis-iconv
... to verify it builds and works fine.
Ref: https://curl.haxx.se/mail/lib-2017-09/0031.html
-rw-r--r-- | .travis-iconv-env.sh | 1 | ||||
-rw-r--r-- | .travis.yml | 12 |
2 files changed, 13 insertions, 0 deletions
diff --git a/.travis-iconv-env.sh b/.travis-iconv-env.sh new file mode 100644 index 000000000..bb7dcf422 --- /dev/null +++ b/.travis-iconv-env.sh @@ -0,0 +1 @@ +export CPPFLAGS="-DCURL_DOES_CONVERSIONS -DHAVE_ICONV -DCURL_ICONV_CODESET_OF_HOST='\"ISO8859-1\"'" diff --git a/.travis.yml b/.travis.yml index d2924556a..abca7bd57 100644 --- a/.travis.yml +++ b/.travis.yml @@ -51,6 +51,10 @@ matrix: compiler: clang dist: trusty env: T=debug + - os: linux + compiler: gcc + dist: trusty + env: T=iconv - os: osx compiler: gcc env: T=debug @@ -172,6 +176,14 @@ script: fi - | set -eo pipefail + if [ "$T" = "iconv" ]; then + source .travis-iconv-env.sh + ./configure --enable-debug --enable-werror $C + make && make examples + make TFLAGS=-n test-nonflaky + fi + - | + set -eo pipefail if [ "$T" = "cmake" ]; then mkdir build cd build |