]>
Commit | Line | Data |
---|---|---|
1 | language: c | |
2 | compiler: | |
3 | - gcc | |
4 | - clang | |
5 | before_install: | |
6 | - sudo add-apt-repository ppa:ubuntu-lxc/daily -y | |
7 | - sudo apt-get update -qq | |
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 | |
9 | script: | |
10 | - ./coccinelle/run-coccinelle.sh -i | |
11 | - git diff --exit-code | |
12 | - export CFLAGS="-Wall -Werror" | |
13 | - export LDFLAGS="-pthread -lpthread" | |
14 | - ./autogen.sh | |
15 | - rm -Rf build | |
16 | - mkdir build | |
17 | - cd build | |
18 | - ../configure --enable-tests --with-distro=unknown | |
19 | - make -j4 | |
20 | - make DESTDIR=$TRAVIS_BUILD_DIR/install install | |
21 | - cd ../config/apparmor | |
22 | - ./lxc-generate-aa-rules.py container-rules.base > /tmp/output | |
23 | - diff /tmp/output container-rules | |
24 | ||
25 | notifications: | |
26 | email: | |
27 | recipients: | |
28 | - lxc-devel@lists.linuxcontainers.org | |
29 | webhooks: https://linuxcontainers.org/webhook-lxcbot/ |