-
Notifications
You must be signed in to change notification settings - Fork 54
/
.travis.yml
58 lines (51 loc) · 1.56 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
50
51
52
53
54
55
56
57
58
language: cpp
sudo: true
dist: xenial
git:
depth: 1
env:
- LLVM=8
- LLVM=9
addons:
apt:
sources:
# newer gcc and clang?
- sourceline: 'deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-9 main'
key_url: 'https://apt.llvm.org/llvm-snapshot.gpg.key'
- sourceline: 'deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-10 main'
key_url: 'https://apt.llvm.org/llvm-snapshot.gpg.key'
- sourceline: 'deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial main'
key_url: 'https://apt.llvm.org/llvm-snapshot.gpg.key'
- ubuntu-toolchain-r-test
- sourceline: 'deb https://apt.kitware.com/ubuntu/ xenial main'
key_url: 'https://apt.kitware.com/keys/kitware-archive-latest.asc'
packages:
- libc6-dev-i386
- linux-libc-dev
- libz-dev
- cmake
- libz3-dev
- python3-pip
- python3-setuptools
compiler:
- clang
script:
- git clone --depth 1 https://github.com/tomsik68/travis-llvm.git
- cd travis-llvm
- chmod +x travis-llvm.sh
- ./travis-llvm.sh ${LLVM}
- cd ..
- sudo ln -s /usr/include/asm-generic /usr/include/asm
- ./system-build.sh -j8
- pip3 install --user --upgrade pip
- pip3 install --user --ignore-installed PyYAML
- pip3 install --user benchexec
- PATH=$PATH:/home/travis/.local/bin
- cd tests/
- sudo chmod o+wt '/sys/fs/cgroup/cpuset/'
- sudo chmod o+wt '/sys/fs/cgroup/cpu,cpuacct/user.slice'
- sudo chmod o+wt '/sys/fs/cgroup/freezer/'
- sudo chmod o+wt '/sys/fs/cgroup/memory/user.slice'
- make
notifications:
email: false