Unverified Commit 274ec1e1 by Stéphane Graber Committed by GitHub

Merge pull request #2876 from brauner/2019-02-20/run_coccinelle_during_tests

travis: run coccinelle
parents d58e39ee d0232ab2
...@@ -11,15 +11,17 @@ addons: ...@@ -11,15 +11,17 @@ addons:
name: "lxc/lxc" name: "lxc/lxc"
description: "LXC - Linux Containers https://linuxcontainers.org/lxc" description: "LXC - Linux Containers https://linuxcontainers.org/lxc"
notification_email: lxc-devel@lists.linuxcontainers.org 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" build_command: "make -j4"
branch_pattern: coverity branch_pattern: coverity
before_install: 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- - 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 add-apt-repository ppa:ubuntu-lxc/daily -y
- sudo apt-get update -qq - 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: script:
- ./coccinelle/run-coccinelle.sh -i
- git diff --exit-code
- ./autogen.sh - ./autogen.sh
- rm -Rf build - rm -Rf build
- mkdir build - mkdir build
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment