]> git.proxmox.com Git - mirror_lxc.git/blobdiff - .travis.yml
lxc-attach: Enable setting the SELinux context
[mirror_lxc.git] / .travis.yml
index dfb1ac1cfb6ab79c55603aaa2d2b90e8ba89dcec..800f646d4fb32890ad94b3febe52b4a6841fa283 100644 (file)
@@ -1,14 +1,42 @@
+dist: bionic
+sudo: required
 language: c
+
 compiler:
  - gcc
  - clang
+
+arch:
+ - amd64
+ - arm64
+ - ppc64le
+ - s390x
+
 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 libselinux1-dev linux-libc-dev
+script: src/tests/travis.sh
 notifications:
   email:
     recipients:
       - lxc-devel@lists.linuxcontainers.org
   webhooks: https://linuxcontainers.org/webhook-lxcbot/
+
+env:
+ global:
+   - secure: "HlNoguS2Sjyj7Mbb644wrHZqdp/p7I7gX00XoUzLRcFosmVdYpHo6Ix8pt9ddC5tDfX05pl5x8OBwrccY+picb9NDNCt7C5TlNcuyyDROnMJW5q33j4EZRI91sBQdmn2uorMzi/CnHEtvUw20+sjBOqIqvpnUV2SMaZiWGC1Eec="
+
+addons:
+  coverity_scan:
+    build_script_url: https://dl.stgraber.org/coverity_travis.sh
+    project:
+      name: lxc/lxc
+      description: "LXC - Linux Containers https://linuxcontainers.org/lxc"
+
+    # Where email notification of build analysis results will be sent
+    notification_email: christian.brauner@ubuntu.com
+
+    build_command_prepend: "./autogen.sh && mkdir build && cd build && ../configure --enable-coverity-build --enable-tests --with-distro=unknown --disable-rpath --enable-tests --enable-memfd-rexec --enable-seccomp --enable-static --enable-werror"
+    build_command: "make -j4"
+    branch_pattern: master