summaryrefslogtreecommitdiff
path: root/.travis.sh
blob: a5704e8e1dcc1022150754d2fb165f1296c7c85b (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
#! /bin/bash
# Copyright (C) 2017 Sebastian Pipping <sebastian@pipping.org>
# Licensed under the MIT license
set -e

PS4='# '
set -x


ret=0


# 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}