libxlsxwriter/.travis.yml
John McNamara bda599d033 Added optional third party dtoa library.
Added the optional Milo Yip DTOA library (emyg_dtoa) to avoid
issues where the standard sprintf() dtoa function changes output
based on locale settings. It is also 40-50% faster than the
standard dtoa for raw numeric data.

If you wish to use this third party library you can compile
libxlsxwriter with it by passing `USE_DTOA_LIBRARY=1` to
make. The USE_DOUBLE_FUNCTION build variable is no longer used.

Imported source from https://github.com/miloyip/dtoa-benchmark

Feature request #272
2021-07-12 23:09:52 +01:00

41 lines
964 B
YAML

language: c
dist: xenial
compiler:
- clang
- gcc
env:
- CFLAGS='-Werror'
- NO_VALGRIND=1 USE_STANDARD_TMPFILE=1 CFLAGS='-Werror'
- NO_VALGRIND=1 CFLAGS='-Werror -m32'
- NO_VALGRIND=1 USE_SYSTEM_MINIZIP=1 CFLAGS='-Werror'
- NO_VALGRIND=1 USE_DTOA_LIBRARY=1 CFLAGS='-Werror'
- NO_VALGRIND=1 USE_NO_MD5=1 CFLAGS='-Werror'
- NO_VALGRIND=1 USE_OPENSSL_MD5=1 CFLAGS='-Werror'
- NO_VALGRIND=1 USE_FMEMOPEN=1 CFLAGS='-Werror'
addons:
apt:
update: true
packages:
- gcc-multilib
- libminizip-dev
- libssl-dev
- valgrind
- zlib1g-dev
- zlib1g-dev:i386
before_install:
- sudo pip install pytest
script:
- make V=1
- make test_functional V=1
- make test_unit V=1
- make examples V=1
- make test_valgrind V=1
- sudo make install V=1
- sudo make uninstall V=1
- make test_cmake V=1
- make clean V=1