libexpat/.travis.yml
Sebastian Pipping 21efd0f600 Travis CI: Use -DXML_POOR_ENTROPY to fix compilation
I would use libbsd but it's broken on Ubuntu trusty:
```
/usr/include/bsd/stdlib.h:52:27: error: unknown type name 'u_char'
 void arc4random_addrandom(u_char *dat, int datlen);
                           ^
```
https://travis-ci.org/libexpat/libexpat/jobs/252880355
2017-07-12 18:34:52 +02:00

25 lines
405 B
YAML

# Copyright (C) 2017 Sebastian Pipping <sebastian@pipping.org>
# Licensed under the MIT license
language: cpp
dist: trusty
env:
global:
- CPPFLAGS='-DXML_POOR_ENTROPY' # bad idea, do not copy!
- CFLAGS='-g -pipe'
matrix:
- MODE=address
- MODE=lib-coverage
addons:
apt:
packages:
- docbook2x
- dos2unix
script:
- cd expat
- ./buildconf.sh
- ./qa.sh ${MODE}