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