Fix the help tests
[tig.git] / .travis.yml
blob6575c02c21cfdc572a51fc9de7bad14115e789ee
1 language: c
3 compiler:
4   - clang
5   - gcc
7 sudo: false
9 addons:
10   apt:
11     packages:
12     - asciidoc
13     - xmlto
14     - valgrind
16 script:
17   - # ============ Build from config ===============
18   - cp contrib/config.make .
19   - make all-debug
20   - make test
21   - make test TEST_OPTS=valgrind
22   - if [ $CC = clang ]; then make test-address-sanitizer; fi
23   - make DESTDIR=/tmp/bare-destdir install install-doc
24   - make DESTDIR=/tmp/bare-destdir uninstall
25   - test ! -d /tmp/bare-destdir
26   - make prefix=/tmp/bare-prefix install install-doc
27   - make prefix=/tmp/bare-prefix uninstall
28   - test ! -d /tmp/bare-prefix
29   - make distclean
30   - # ============ Build using autoconf ============
31   - make dist
32   - ./configure --prefix=/tmp/conf-prefix
33   - make V=1 TEST_SHELL=bash all test install install-doc
34   - make uninstall
35   - test ! -d /tmp/conf-prefix
36   - make clean