]> git.proxmox.com Git - mirror_lxc.git/blobdiff - .travis.yml
file_utils: fix too wide or inconsistent non-owner permissions
[mirror_lxc.git] / .travis.yml
index 3aba29d1e065ccbba43391e7e82b70535e104b11..2c8a1c7cf2f5da0ba14b918513a41cfe0ad7bd1d 100644 (file)
@@ -2,13 +2,33 @@ language: c
 compiler:
  - gcc
  - clang
+env:
+  global:
+   - secure: "HRhoQBAke8QGGm8C8qH8cJ/vOB8x+ouDcKVL7iw6K6gLFBqSNF0Ikr/71lxof1nI2T3dk8shH5vv1i0OFhT2obHSQSYjs0fdO/B+4K/PXsj2BCmVtSketFK0xljU7RXzL+kS9V2A4R0SERygs2XahmbU0peePS2G+DbLTkWoxS8="
+addons:
+  coverity_scan:
+    project:
+      name: "lxc/lxc"
+      description: "LXC - Linux Containers https://linuxcontainers.org/lxc"
+    notification_email: lxc-devel@lists.linuxcontainers.org
+    build_command_prepend: "export CFLAGS=-O0 ./autogen.sh && mkdir build && cd build && ../configure --enable-tests --with-distro=unknown"
+    build_command: "make -j4"
+    branch_pattern: master
 before_install:
+ - echo -n | openssl s_client -connect scan.coverity.com:443 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' | sudo tee -a /etc/ssl/certs/ca-
+ - 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 libapparmor-dev libcap-dev libseccomp-dev python3-dev python3-setuptools docbook2x libgnutls-dev libselinux1-dev linux-libc-dev
+script:
+ - ./autogen.sh
+ - rm -Rf build
+ - mkdir build
+ - cd build
+ - ../configure --enable-tests --with-distro=unknown
+ - make -j4
+ - make DESTDIR=$TRAVIS_BUILD_DIR/install install
 notifications:
   email:
     recipients:
       - lxc-devel@lists.linuxcontainers.org
-  irc:
-      - "chat.freenode.net#lxcontainers"
+  webhooks: https://linuxcontainers.org/webhook-lxcbot/