+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