-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
37 lines (33 loc) · 899 Bytes
/
.travis.yml
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
32
33
34
35
36
37
language: c
compiler:
- clang
- gcc
sudo: false
addons:
apt:
packages:
- asciidoc
- xmlto
- valgrind
script:
- # ============ Build from config ===============
- cp contrib/config.make .
- make all-debug
- make update-docs && git diff --exit-code
- make test
- make test TEST_OPTS=valgrind
- if [ $CC = clang ]; then make test-address-sanitizer; fi
- make DESTDIR=/tmp/bare-destdir install install-doc
- make DESTDIR=/tmp/bare-destdir uninstall
- test ! -d /tmp/bare-destdir
- make prefix=/tmp/bare-prefix install install-doc
- make prefix=/tmp/bare-prefix uninstall
- test ! -d /tmp/bare-prefix
- make distclean
- # ============ Build using autoconf ============
- make dist
- ./configure --prefix=/tmp/conf-prefix
- make V=1 TEST_SHELL=bash all test install install-doc
- make uninstall
- test ! -d /tmp/conf-prefix
- make clean