]>
Commit | Line | Data |
---|---|---|
1c1c60e4 ÇO |
1 | language: c |
2 | compiler: | |
3 | - gcc | |
4 | - clang | |
65322e5c | 5 | before_install: |
65322e5c CB |
6 | - sudo add-apt-repository ppa:ubuntu-lxc/daily -y |
7 | - sudo apt-get update -qq | |
d0232ab2 | 8 | - sudo apt-get install -qq coccinelle parallel libapparmor-dev libcap-dev libseccomp-dev python3-dev python3-setuptools docbook2x libgnutls-dev libselinux1-dev linux-libc-dev |
6bc6062d | 9 | script: |
d0232ab2 CB |
10 | - ./coccinelle/run-coccinelle.sh -i |
11 | - git diff --exit-code | |
49a4c18b | 12 | - export CFLAGS="-Wall -Werror" |
3ece09c1 | 13 | - export LDFLAGS="-pthread -lpthread" |
6bc6062d | 14 | - ./autogen.sh |
b826fe7d | 15 | - rm -Rf build |
6bc6062d AM |
16 | - mkdir build |
17 | - cd build | |
4c9ab50e | 18 | - ../configure --enable-tests --with-distro=unknown |
6bc6062d | 19 | - make -j4 |
43f965e0 | 20 | - make DESTDIR=$TRAVIS_BUILD_DIR/install install |
069d8e86 HB |
21 | - cd ../config/apparmor |
22 | - ./lxc-generate-aa-rules.py container-rules.base > /tmp/output | |
23 | - diff /tmp/output container-rules | |
c70de0ea | 24 | |
23b9d428 SG |
25 | notifications: |
26 | email: | |
27 | recipients: | |
28 | - lxc-devel@lists.linuxcontainers.org | |
3b6aebce | 29 | webhooks: https://linuxcontainers.org/webhook-lxcbot/ |