xref: /freebsd/contrib/kyua/.travis.yml (revision ce6a89e27cd190313be39bb479880aeda4778436)
1language: cpp
2sudo: required
3
4before_install:
5    - ./admin/travis-install-deps.sh
6
7matrix:
8    include:
9        - os: linux
10          dist: xenial
11          compiler: clang
12          env: ARCH=amd64 DO=distcheck AS_ROOT=no
13        - os: linux
14          dist: xenial
15          compiler: gcc
16          env: ARCH=amd64 DO=distcheck AS_ROOT=no
17        - os: linux
18          dist: xenial
19          compiler: clang
20          env: ARCH=amd64 DO=apidocs
21        - os: linux
22          dist: xenial
23          compiler: clang
24          env: ARCH=amd64 DO=style
25        - os: linux
26          dist: xenial
27          compiler: clang
28          env: ARCH=amd64 DO=distcheck AS_ROOT=yes UNPRIVILEGED_USER=no
29        - os: linux
30          dist: xenial
31          compiler: clang
32          env: ARCH=amd64 DO=distcheck AS_ROOT=yes UNPRIVILEGED_USER=yes
33        # TODO(ngie): reenable i386; the libraries were not available in the
34        #             Ubuntu Xenial x86_64 docker image.
35        #- os: linux
36        #  dist: xenial
37        #  compiler: clang
38        #  env: ARCH=i386 DO=distcheck AS_ROOT=no
39        #- os: linux
40        #  dist: xenial
41        #  compiler: gcc
42        #  env: ARCH=i386 DO=distcheck AS_ROOT=no
43
44script:
45    - ./admin/travis-build.sh
46
47notifications:
48    email:
49        - kyua-log@googlegroups.com
50