summaryrefslogtreecommitdiff
path: root/.travis.sh
blob: b64eb647395d5815297d1b9bed88f561669b2536 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#! /bin/bash
# Copyright (C) 2017 Sebastian Pipping <sebastian@pipping.org>
# Licensed under the MIT license
set -e

PS4='# '
set -x


ret=0


# Install missing build time dependencies
sudo apt-get --quiet update
sudo apt-get --quiet install docbook2x


# Run test suite
cd expat

for mode in \
        address \
        lib-coverage \
        ; do
    git clean -X -f
    ./buildconf.sh
    CFLAGS='-g -pipe' ./qa.sh ${mode} || ret=1
done


exit ${ret}