-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
31 lines (22 loc) · 820 Bytes
/
.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
language: minimal
dist: bionic
services:
- docker
env:
global:
- DOCKER_IMG="registry.gitlab.com/offa/plug/ci"
matrix:
include:
- env: COMPILER=gcc-9 ANALYSE="-asan -ubsan"
- env: COMPILER=gcc-8 ANALYSE="-asan -ubsan"
- env: COMPILER=gcc-7 ANALYSE="-asan -ubsan"
- env: COMPILER=clang-9 ANALYSE="-asan -ubsan"
- env: COMPILER=clang-8 ANALYSE="-asan -ubsan"
- env: COMPILER=clang-7 ANALYSE="-asan" # UBSan disabled, see #129
- env: COMPILER=clang-6 ANALYSE="-asan -ubsan"
- env: COMPILER=clang-5 ANALYSE="-asan -ubsan"
- env: COMPILER=gcc-8 ANALYSE="-cov"
before_install:
- docker pull ${DOCKER_IMG}/${COMPILER}:latest
script:
- docker run --cap-add SYS_PTRACE -v ${PWD}:/mnt -it ${DOCKER_IMG}/${COMPILER} /bin/bash -c "cd /mnt; script/ci_build.sh ${ANALYSE}"