mirror of
https://github.com/moparisthebest/curl
synced 2024-11-14 21:45:13 -05:00
travis: add build with iconv enabled
... to verify it builds and works fine. Ref: https://curl.haxx.se/mail/lib-2017-09/0031.html Closes #1872
This commit is contained in:
parent
ccd1ec7aa8
commit
bb5017704a
1
.travis-iconv-env.sh
Normal file
1
.travis-iconv-env.sh
Normal file
@ -0,0 +1 @@
|
|||||||
|
export CPPFLAGS="-DCURL_DOES_CONVERSIONS -DHAVE_ICONV -DCURL_ICONV_CODESET_OF_HOST='\"ISO8859-1\"'"
|
12
.travis.yml
12
.travis.yml
@ -51,6 +51,10 @@ matrix:
|
|||||||
compiler: clang
|
compiler: clang
|
||||||
dist: trusty
|
dist: trusty
|
||||||
env: T=debug
|
env: T=debug
|
||||||
|
- os: linux
|
||||||
|
compiler: gcc
|
||||||
|
dist: trusty
|
||||||
|
env: T=iconv
|
||||||
- os: osx
|
- os: osx
|
||||||
compiler: gcc
|
compiler: gcc
|
||||||
env: T=debug
|
env: T=debug
|
||||||
@ -170,6 +174,14 @@ script:
|
|||||||
make && make examples
|
make && make examples
|
||||||
make test-nonflaky
|
make test-nonflaky
|
||||||
fi
|
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
|
set -eo pipefail
|
||||||
if [ "$T" = "cmake" ]; then
|
if [ "$T" = "cmake" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user