-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
43 lines (36 loc) · 949 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
31
32
33
34
35
36
37
38
39
40
41
42
43
language: c
sudo: false
addons:
coverity_scan:
project:
name: capone-project/capone-core
notification_email: [email protected]
build_command_prepend: ./scripts/deps.sh
build_command: ./scripts/build.sh
branch_pattern: coverity
cache:
directories:
- $HOME/local
env:
global:
- GENERATOR="Unix Makefiles"
matrix:
include:
- os: linux
compiler: gcc
- os: linux
compiler: clang
- os: osx
compiler: gcc
- os: osx
compiler: clang
- os: linux
compiler: clang
env: CFLAGS='-fsanitize=address -fsanitize=undefined'
install:
- test ${TRAVIS_BRANCH} != coverity -o ${TRAVIS_JOB_NUMBER##*.} = 1 || exit 0
- ./scripts/deps.sh
script:
- test ${TRAVIS_BRANCH} != coverity -o ${TRAVIS_JOB_NUMBER##*.} = 1 || exit 0
- ./scripts/build.sh
- ./scripts/test.sh