summaryrefslogtreecommitdiffstats
path: root/.travis.yml
blob: 8aeb4025326902696b7a93f48837460edff01581 (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
language: c

script: make distcheck

addons:
  apt:
    packages:
      - gcc-multilib
      - acl
      - libacl1-dev
      - libacl1:i386
      - attr
      - libattr1-dev
      - libattr1:i386
      - libcap2-bin
      - libcap-dev
      - libcap2:i386

matrix:
  include:
    - os: linux
      dist: xenial
      before_script:
        # Ubuntu doesn't let you install the -dev packages for both amd64 and
        # i386 at once, so we make our own symlinks to fix -m32 -lacl -lcap
        - sudo ln -s libacl.so.1 /lib/i386-linux-gnu/libacl.so
        - sudo ln -s libattr.so.1 /lib/i386-linux-gnu/libattr.so
        - sudo ln -s libcap.so.2 /lib/i386-linux-gnu/libcap.so

    - os: osx