2017-03-13 13:43:19 -04:00
|
|
|
# Copyright (C) 2017 Sebastian Pipping <sebastian@pipping.org>
|
|
|
|
# Licensed under the MIT license
|
|
|
|
|
2017-02-19 15:31:02 -05:00
|
|
|
language: cpp
|
|
|
|
dist: trusty
|
2017-03-13 13:23:54 -04:00
|
|
|
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- docbook2x
|
|
|
|
|
2017-03-13 13:27:11 -04:00
|
|
|
install:
|
2017-03-13 13:52:09 -04:00
|
|
|
- wget -O xmlts.zip https://www.w3.org/XML/Test/xmlts20080827.zip
|
2017-03-13 13:27:11 -04:00
|
|
|
|
2017-03-13 13:43:19 -04:00
|
|
|
script:
|
|
|
|
- cd expat
|
|
|
|
- |
|
|
|
|
set -e
|
|
|
|
ret=0
|
|
|
|
for mode in \
|
|
|
|
address \
|
|
|
|
lib-coverage \
|
|
|
|
; do
|
2017-03-13 13:52:09 -04:00
|
|
|
git clean -X -d -f
|
|
|
|
cp -v ../xmlts.zip tests/xmlts.zip
|
2017-03-13 13:43:19 -04:00
|
|
|
./buildconf.sh
|
|
|
|
CFLAGS='-g -pipe' ./qa.sh ${mode} || ret=1
|
|
|
|
done
|
|
|
|
exit ${ret}
|