-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
49 lines (40 loc) · 1.32 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
dist: bionic
sudo: required
language: c
compiler:
- gcc
- clang
arch:
- amd64
- arm64
- ppc64le
- s390x
env:
global:
- secure: "git3Pry4fHtyXFNdy+b5NjIxHOkg1olPKCqKXc0SD9FLBF6oxmvrt8QXDoPWolLK6Y62GEu751tWXJ8YsYAkPMlNX3lrfyxomhmhKCB1pHQvnZ/ln15Na3EGG9HvpKs2VTqc1s5817rfo+USUwGmbeNqe99BI3egNG1o/WiKiOQ="
before_install:
- sudo apt-get update -qq
- sudo apt-get -y install -qq automake coreutils libfuse-dev libtool uuid-runtime
script:
- ./bootstrap.sh
- CFLAGS='-g -O0 -std=c11 -DDEBUG -DVERBOSE -DRESOLVE_NOW -Wall -Werror' ./configure --prefix=/usr
- make -j4
- (cd tests && make tests)
- echo 1 | sudo tee /sys/fs/cgroup/cpuset/cgroup.clone_children || true
- sudo -E PATH="${PATH}" LD_LIBRARY_PATH="${LD_LIBRARY_PATH}" tests/main.sh
notifications:
email:
recipients:
- serge.hallyn@ubuntu.com
- stgraber@ubuntu.com
addons:
coverity_scan:
build_script_url: https://dl.stgraber.org/coverity_travis.sh
project:
name: lxc/lxcfs
description: "FUSE filesystem for LXC https://linuxcontainers.org/lxcfs"
# Where email notification of build analysis results will be sent
notification_email: christian.brauner@ubuntu.com
build_command_prepend: "./bootstrap.sh && mkdir build && cd build && ../configure --prefix=/usr"
build_command: "make -j4"
branch_pattern: master