]> git.proxmox.com Git - mirror_lxcfs.git/blob - .travis.yml
travis: add coverity support
[mirror_lxcfs.git] / .travis.yml
1 language: c
2 compiler:
3 - gcc
4 - clang
5 env:
6 global:
7 - secure: "Nu2cNo2RHjZxl2eiuWVRlznMAZu4YCvsbaxf4djolj+MYIw2KfMqMM9cM9EC3/ikljZcrlleOXZDcyNFdlNIbeadXythleNQJRK3eX8x226f6vqAs4i/ppbl4oMnlQx3yzG9+PBHtelv/db8TxXLX51+qB8N0820v0ieTpwYbkI="
8 addons:
9 coverity_scan:
10 project:
11 name: "lxc/lxcfs"
12 description: "FUSE filesystem for LXC https://linuxcontainers.org/lxcfs"
13 build_command_prepend: "./bootstrap.sh && ./configure"
14 build_command: "make -j4"
15 branch_pattern: master
16 before_install:
17 - echo -n | openssl s_client -connect https://scan.coverity.com:443 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' | sudo tee -a /etc/ssl/certs/ca-
18 - sudo add-apt-repository ppa:ubuntu-lxc/daily -y
19 - sudo apt-get update -qq
20 - sudo apt-get -y install -qq libfuse-dev libdbus-glib-1-dev libglib2.0-dev coreutils cgmanager
21 - sudo apt-get -y install -qq realpath || true
22 - sudo apt-get -y install -qq automake libtool libattr1-dev
23 # need to modprobe fuse to run the tests...
24 #script: ./bootstrap.sh && ./configure && make -j4 && make tests && cd tests && sudo ./main.sh
25 script: ./bootstrap.sh && ./configure && make -j4 && make tests
26 notifications:
27 email:
28 recipients:
29 - serge.hallyn@ubuntu.com