Skip to content

Commit

Permalink
travis: add build with iconv enabled
Browse files Browse the repository at this point in the history
... to verify it builds and works fine.

Ref: https://curl.haxx.se/mail/lib-2017-09/0031.html

Closes curl#1872
  • Loading branch information
bagder committed Feb 15, 2018
1 parent ccd1ec7 commit bb50177
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions .travis-iconv-env.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export CPPFLAGS="-DCURL_DOES_CONVERSIONS -DHAVE_ICONV -DCURL_ICONV_CODESET_OF_HOST='\"ISO8859-1\"'"
12 changes: 12 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -170,6 +174,14 @@ script:
make && make examples
make test-nonflaky
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
Expand Down

0 comments on commit bb50177

Please sign in to comment.