From d0232ab28d1504bcd423b3482ee027aee2701c9b Mon Sep 17 00:00:00 2001 From: Christian Brauner Date: Wed, 20 Feb 2019 21:11:46 +0100 Subject: [PATCH] travis: run coccinelle Signed-off-by: Christian Brauner --- .travis.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 665ee45ca..d24d01ecd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,15 +11,17 @@ addons: name: "lxc/lxc" description: "LXC - Linux Containers https://linuxcontainers.org/lxc" notification_email: lxc-devel@lists.linuxcontainers.org - build_command_prepend: "./coccinelle/run-coccinelle.sh && ./autogen.sh && rm -Rf build && mkdir build && cd build && ../configure --enable-tests --with-distro=unknown" + build_command_prepend: "./autogen.sh && rm -Rf build && mkdir build && cd build && ../configure --enable-tests --with-distro=unknown" build_command: "make -j4" branch_pattern: coverity 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 coccinelle libapparmor-dev libcap-dev libseccomp-dev python3-dev python3-setuptools docbook2x libgnutls-dev libselinux1-dev linux-libc-dev + - 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 -- 2.47.2