]> git.proxmox.com Git - mirror_lxc.git/blobdiff - .travis.yml
.travis: remove coverity
[mirror_lxc.git] / .travis.yml
index 3aba29d1e065ccbba43391e7e82b70535e104b11..c0ca0d6fa624c5e0b9a7f3a872cdde8477236103 100644 (file)
@@ -3,12 +3,25 @@ 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 --enable-tests && 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
+ - ./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
-  irc:
-      - "chat.freenode.net#lxcontainers"
+  webhooks: https://linuxcontainers.org/webhook-lxcbot/