X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=.travis.yml;h=b8c695ffee9e5c052b9e333eb2be29dd1040b3d6;hb=33d7d28f4517e57021343f0016228913e6555dd1;hp=f66637f37343064456cc7beb1f35a83313c0f0ea;hpb=1c1c60e4bae126db6738bb45e3e8d9d77f07f7e6;p=mirror_lxc.git diff --git a/.travis.yml b/.travis.yml index f66637f37..b8c695ffe 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,6 +3,27 @@ compiler: - gcc - clang before_install: + - sudo add-apt-repository ppa:ubuntu-lxc/daily -y - sudo apt-get update -qq - - sudo apt-get install -qq libapparmor-dev libcap-dev libseccomp-dev python3-dev docbook2x libgnutls-dev liblua5.2-dev libselinux1-dev -script: ./autogen.sh && ./configure && make -j4 + - 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 +script: + - ./coccinelle/run-coccinelle.sh -i + - git diff --exit-code + - export CFLAGS="-Wall -Werror" + - export LDFLAGS="-pthread -lpthread" + - ./autogen.sh + - rm -Rf build + - mkdir build + - cd build + - ../configure --enable-tests --with-distro=unknown + - make -j4 + - make DESTDIR=$TRAVIS_BUILD_DIR/install install + - cd ../config/apparmor + - ./lxc-generate-aa-rules.py container-rules.base > /tmp/output + - diff /tmp/output container-rules + +notifications: + email: + recipients: + - lxc-devel@lists.linuxcontainers.org + webhooks: https://linuxcontainers.org/webhook-lxcbot/